summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-10-10 18:00:11 -0500
committerDave Parks <davep@lindenlab.com>2013-10-10 18:00:11 -0500
commite43058e7640bbdb8507e153bf63a5e6adb016101 (patch)
tree2b0cfde66d85573f22ab0f85f02f011b07bdbc61 /indra/newview/llvoavatarself.cpp
parent275a9606e8658592cc08bcb69ae6a867c008e7ed (diff)
MAINT-2968 Fix for crash on AMD hardware running current drivers.
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 15628d5ab2..9ce99444d9 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -3066,7 +3066,7 @@ void LLVOAvatarSelf::deleteScratchTextures()
namep;
namep = sScratchTexNames.getNextData() )
{
- LLImageGL::deleteTextures(LLTexUnit::TT_TEXTURE, 0, -1, 1, (U32 *)namep );
+ LLImageGL::deleteTextures(1, (U32 *)namep );
stop_glerror();
}