Now letting LLRenderTarget delete bound textures immediately instead of having them hang around until next frame.

This commit is contained in:
Shyotl
2011-07-17 19:48:37 -05:00
parent 330bf08c9b
commit 66336e8151
3 changed files with 9 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ public:
// These 3 functions currently wrap glGenTextures(), glDeleteTextures(), and glTexImage2D()
// for tracking purposes and will be deprecated in the future
static void generateTextures(S32 numTextures, U32 *textures);
static void deleteTextures(S32 numTextures, U32 *textures);
static void deleteTextures(S32 numTextures, U32 *textures, bool immediate = false);
static void setManualImage(U32 target, S32 miplevel, S32 intformat, S32 width, S32 height, U32 pixformat, U32 pixtype, const void *pixels);
BOOL createGLTexture() ;