summaryrefslogtreecommitdiff
path: root/game/terrain.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-09 18:12:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-09 18:12:39 +0000
commitfb1579929adcb19cb9e37a8e782b7d29af414bcf (patch)
tree9943984c5c194cfe07662aeecfbbbebfee8a87ba /game/terrain.cpp
parentSupport fall-back internal framebuffer formats, use smaller and/or standard f... (diff)
downloadilt-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 'game/terrain.cpp')
0 files changed, 0 insertions, 0 deletions