diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp index 37e7c6fa647f7cee4e20cb82ed5faee298d4604c..1b6494195b86f6d1cf0125c4beb60dd4b8a38939 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]); }