summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-11-30 12:21:01 -0600
committerDave Parks <davep@lindenlab.com>2012-11-30 12:21:01 -0600
commit9a8cf6603fbfc96595d047c770817eba7631a067 (patch)
tree893f7c496c21f56877f0a6f635cfa68d33948ad9
parent72cbe5b9429b095cc2b9d940fde78dc4d2e21978 (diff)
MAINT-1958 Fix for linux build after transplant.
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 6dd448f091..5360a67538 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -937,7 +937,7 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)
}
}
- U32 width = resX*scale;
+ U32 width = (U32) (resX*scale);
U32 height = width;
if (shadow_detail > 1)