summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llfloatermodelpreview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 99f5fa35cd..a27272fbfe 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -455,11 +455,11 @@ void LLFloaterModelPreview::initModelPreview()
S32 max_width = llmin(gSavedSettings.getS32("PreviewRenderSize"), (S32)gPipeline.mScreenWidth);
S32 max_height = llmin(gSavedSettings.getS32("PreviewRenderSize"), (S32)gPipeline.mScreenHeight);
- while ((tex_width << 1) <= max_width)
+ while ((tex_width << 1) < max_width)
{
tex_width <<= 1;
}
- while ((tex_height << 1) <= max_height)
+ while ((tex_height << 1) < max_height)
{
tex_height <<= 1;
}