summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-02-13 15:32:15 -0600
committerDave Parks <davep@lindenlab.com>2012-02-13 15:32:15 -0600
commit001e32074d4fbc5d115c9a2fa1cb5de4b5932731 (patch)
tree0a9d3940be97b8c289bb51fdc73d4fc3eb6497e9 /indra/newview/pipeline.cpp
parent80505ddf68c8a0a962a720a1c1d2a894df47157f (diff)
SH-2908 More linux build fixes.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index c8a8b910ea..ce3a4893bf 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6643,8 +6643,8 @@ void LLPipeline::renderBloom(BOOL for_snapshot, F32 zoom_factor, int subfield)
mDeferredLight.flush();
}
- U32 dof_width = mScreen.getWidth()*CameraDoFResScale;
- U32 dof_height = mScreen.getHeight()*CameraDoFResScale;
+ U32 dof_width = (U32) (mScreen.getWidth()*CameraDoFResScale);
+ U32 dof_height = (U32) (mScreen.getHeight()*CameraDoFResScale);
{ //perform DoF sampling at half-res (preserve alpha channel)
mScreen.bindTarget();