summaryrefslogtreecommitdiff
path: root/canvas/source/opengl/ogl_spritedevicehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/opengl/ogl_spritedevicehelper.cxx')
-rw-r--r--canvas/source/opengl/ogl_spritedevicehelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index 50a44999b28c..f602777233ed 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -53,7 +53,7 @@ static void initContext()
glShadeModel(GL_FLAT);
}
-static void initTransformation(const ::Size& rSize, bool bMirror=false)
+static void initTransformation(const ::Size& rSize, bool bMirror)
{
// use whole window
glViewport( 0,0,
@@ -282,7 +282,7 @@ namespace oglcanvas
SystemChildWindow* pChildWindow = mxContext->getChildWindow();
const ::Size& rOutputSize = pChildWindow->GetSizePixel();
- initTransformation(rOutputSize);
+ initTransformation(rOutputSize, false);
// render the actual spritecanvas content
mpSpriteCanvas->renderRecordedActions();