diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-09 18:12:39 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-09 18:12:39 +0000 |
commit | fb1579929adcb19cb9e37a8e782b7d29af414bcf (patch) | |
tree | 9943984c5c194cfe07662aeecfbbbebfee8a87ba /lib/filesystem.h | |
parent | Support fall-back internal framebuffer formats, use smaller and/or standard f... (diff) | |
download | ilt-fb1579929adcb19cb9e37a8e782b7d29af414bcf.tar.bz2 ilt-fb1579929adcb19cb9e37a8e782b7d29af414bcf.tar.xz ilt-fb1579929adcb19cb9e37a8e782b7d29af414bcf.zip |
Save texture to TGA using mmap
Removes the need to allocate a large temporary buffer, instead just memmaps a file big enough and has
OpenGL write the texture data directly to it.
Diffstat (limited to 'lib/filesystem.h')
0 files changed, 0 insertions, 0 deletions