summaryrefslogtreecommitdiff
path: root/indra/newview/llscenemonitor.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-10-01 17:18:35 -0700
committerRichard Linden <none@none>2013-10-01 17:18:35 -0700
commit9bae912308a75cc1ceaec49d28b50f7119ec02ba (patch)
tree49e879fad805e7330eeaf563fc2376196a6f4b38 /indra/newview/llscenemonitor.cpp
parent59628d6f85deed89cb35d9343183069cfccd13c0 (diff)
BUILDFIX: old style fast timer use, broken unit test
Diffstat (limited to 'indra/newview/llscenemonitor.cpp')
-rw-r--r--indra/newview/llscenemonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 429d6a9258..c1ebd1f435 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -202,7 +202,7 @@ LLRenderTarget& LLSceneMonitor::getCaptureTarget()
if(cur_target->getWidth() != width || cur_target->getHeight() != height) //size changed
{
- cur_target->resize(width, height, GL_RGB);
+ cur_target->resize(width, height);
}
// we're promising the target exists
@@ -366,7 +366,7 @@ void LLSceneMonitor::compare()
else if(mDiff->getWidth() != width || mDiff->getHeight() != height)
{
LL_RECORD_BLOCK_TIME(FTM_GENERATE_SCENE_LOAD_DITHER_TEXTURE);
- mDiff->resize(width, height, GL_RGBA);
+ mDiff->resize(width, height);
generateDitheringTexture(width, height);
}