summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorsimon@Simon-PC.lindenlab.com <simon@Simon-PC.lindenlab.com>2012-07-30 15:11:00 -0700
committersimon@Simon-PC.lindenlab.com <simon@Simon-PC.lindenlab.com>2012-07-30 15:11:00 -0700
commit0ccecbe966a1a19b7625efba304ef3071b2265cb (patch)
tree8990cf16d0e0449937bf915710ed3d73a506efbb /indra/newview
parent99048664647e696dd7ddcd90f5363d0b70bca8dc (diff)
Fix linux build crankiness
Diffstat (limited to 'indra/newview')
-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 a8050e3163..777db06a3f 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -902,7 +902,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)