diff options
author | Dave Parks <davep@lindenlab.com> | 2011-11-15 13:56:00 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-11-15 13:56:00 -0600 |
commit | b493b8cca491c4b7a76f4c98b34272970d3bb58b (patch) | |
tree | 3a40e79c339ad3228ab68ad9ea4e7c1f898abbeb /indra | |
parent | bbac7e9aecf433c1a84515ede954650bd76befbf (diff) |
SH-2652 Fix for linux compile error
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index af96a042a1..c9e1b44b3f 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6569,7 +6569,7 @@ void LLPipeline::renderBloom(BOOL for_snapshot, F32 zoom_factor, int subfield) { //perform DoF sampling at half-res (preserve alpha channel) mScreen.bindTarget(); - glViewport(0,0,mScreen.getWidth()*CameraDoFResScale, mScreen.getHeight()*CameraDoFResScale); + glViewport(0,0,(GLsizei) (mScreen.getWidth()*CameraDoFResScale), (GLsizei) (mScreen.getHeight()*CameraDoFResScale)); gGL.setColorMask(true, false); shader = &gDeferredPostProgram; |