diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llglsandbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp index 37e7c6fa64..1b6494195b 100644 --- a/indra/newview/llglsandbox.cpp +++ b/indra/newview/llglsandbox.cpp @@ -956,6 +956,8 @@ F32 gpu_benchmark() ~TextureHolder() { + // unbind + texUnit->unbind(LLTexUnit::TT_TEXTURE); // ensure that we delete these textures regardless of how we exit LLImageGL::deleteTextures(source.size(), &source[0]); } |