summaryrefslogtreecommitdiff
path: root/indra/newview/lldynamictexture.cpp
diff options
context:
space:
mode:
authorAnchor <none@none>2017-09-13 21:27:26 -0700
committerAnchor <none@none>2017-09-13 21:27:26 -0700
commita416dee2cc8c802bba24803c43805fd7fa0f484c (patch)
tree0eb53319ac2b8944f728ac1eabd0c3907a0a7082 /indra/newview/lldynamictexture.cpp
parent8c7edbef183e284186da583c4c9b55fe2bc972d1 (diff)
cleanup the commented out code
Diffstat (limited to 'indra/newview/lldynamictexture.cpp')
-rw-r--r--indra/newview/lldynamictexture.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lldynamictexture.cpp b/indra/newview/lldynamictexture.cpp
index 800c36f911..87b56f33af 100644
--- a/indra/newview/lldynamictexture.cpp
+++ b/indra/newview/lldynamictexture.cpp
@@ -125,9 +125,9 @@ BOOL LLViewerDynamicTexture::render()
//-----------------------------------------------------------------------------
void LLViewerDynamicTexture::preRender(BOOL clear_depth)
{
- //only images up to 512x512 are supported
- //llassert(mFullHeight <= 512);
- //llassert(mFullWidth <= 512);
+ //only images up to 1024*1024 are supported
+ llassert(mFullHeight <= 1024);
+ llassert(mFullWidth <= 1024);
if (gGLManager.mHasFramebufferObject && gPipeline.mWaterDis.isComplete() && !gGLManager.mIsATI)
{ //using offscreen render target, just use the bottom left corner