summaryrefslogtreecommitdiff
path: root/indra/newview/llglsandbox.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2013-10-30 11:23:12 -0700
committersimon <none@none>2013-10-30 11:23:12 -0700
commit1b43046bb14a71c4596acd0aaef90ff0d2f7a1b3 (patch)
treea522a496a347bf0877c2a34be4143223ff7126a7 /indra/newview/llglsandbox.cpp
parentdfa6822b3464fbf0d778b524c867bc7329121b4a (diff)
Fix transplated code
Diffstat (limited to 'indra/newview/llglsandbox.cpp')
-rwxr-xr-xindra/newview/llglsandbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp
index 83cabf7d55..c4c1827266 100755
--- a/indra/newview/llglsandbox.cpp
+++ b/indra/newview/llglsandbox.cpp
@@ -904,7 +904,7 @@ void gpu_benchmark()
LLRenderTarget dest[count];
U32 source[count];
- LLImageGL::generateTextures(LLTexUnit::TT_TEXTURE, GL_RGBA, count, source);
+ LLImageGL::generateTextures(count, source);
std::vector<F32> results;
//build a random texture
@@ -983,7 +983,7 @@ void gpu_benchmark()
LLGLSLShader::finishProfile();
- LLImageGL::deleteTextures(LLTexUnit::TT_TEXTURE, GL_RGBA, 0, count, source);
+ LLImageGL::deleteTextures(count, source);
std::sort(results.begin(), results.end());