Don't keep a copy of all texture images around

This commit is contained in:
sfan5 2024-11-08 13:20:02 +01:00
parent 58ccf0ba82
commit cc8c3d501c
2 changed files with 2 additions and 2 deletions

@ -74,7 +74,7 @@ enum E_TEXTURE_CREATION_FLAG
//! Allow the driver to keep a copy of the texture in memory
/** Enabling this makes calls to ITexture::lock a lot faster, but costs main memory.
This is enabled by default.
This is disabled by default.
*/
ETCF_ALLOW_MEMORY_COPY = 0x00000080,

@ -76,7 +76,7 @@ CNullDriver::CNullDriver(io::IFileSystem *io, const core::dimension2d<u32> &scre
setTextureCreationFlag(ETCF_ALWAYS_32_BIT, true);
setTextureCreationFlag(ETCF_CREATE_MIP_MAPS, true);
setTextureCreationFlag(ETCF_AUTO_GENERATE_MIP_MAPS, true);
setTextureCreationFlag(ETCF_ALLOW_MEMORY_COPY, true);
setTextureCreationFlag(ETCF_ALLOW_MEMORY_COPY, false);
ViewPort = core::rect<s32>(core::position2d<s32>(0, 0), core::dimension2di(screenSize));