1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Revive texture download code and fix it on GLES

This commit is contained in:
sfan5 2024-11-08 12:08:48 +01:00
parent 11837d4623
commit 3c42cc8684
2 changed files with 16 additions and 22 deletions

View file

@ -74,9 +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.
Currently only used in combination with OpenGL drivers.
NOTE: Disabling this does not yet work correctly with alpha-textures.
So the default is on for now (but might change with Irrlicht 1.9 if we get the alpha-troubles fixed).
This is enabled by default.
*/
ETCF_ALLOW_MEMORY_COPY = 0x00000080,