diff options
| author | Dave Parks <davep@lindenlab.com> | 2013-10-10 18:00:11 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2013-10-10 18:00:11 -0500 |
| commit | e43058e7640bbdb8507e153bf63a5e6adb016101 (patch) | |
| tree | 2b0cfde66d85573f22ab0f85f02f011b07bdbc61 /indra/llrender/llimagegl.h | |
| parent | 275a9606e8658592cc08bcb69ae6a867c008e7ed (diff) | |
MAINT-2968 Fix for crash on AMD hardware running current drivers.
Diffstat (limited to 'indra/llrender/llimagegl.h')
| -rwxr-xr-x | indra/llrender/llimagegl.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h index 57a052b258..0c62dd0d33 100755 --- a/indra/llrender/llimagegl.h +++ b/indra/llrender/llimagegl.h @@ -45,16 +45,9 @@ class LLImageGL : public LLRefCount { friend class LLTexUnit; public: - static U32 sCurTexName; - - //previously used but now available texture names - // sDeadTextureList[<usage>][<internal format>] - typedef std::map<U32, std::list<U32> > dead_texturelist_t; - static dead_texturelist_t sDeadTextureList[LLTexUnit::TT_NONE]; - // These 2 functions replace glGenTextures() and glDeleteTextures() - static void generateTextures(LLTexUnit::eTextureType type, U32 format, S32 numTextures, U32 *textures); - static void deleteTextures(LLTexUnit::eTextureType type, U32 format, S32 mip_levels, S32 numTextures, U32 *textures, bool immediate = false); + static void generateTextures(S32 numTextures, U32 *textures); + static void deleteTextures(S32 numTextures, U32 *textures); static void deleteDeadTextures(); // Size calculation |
