diff options
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 2efac9741908..24e16317cf57 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -1384,8 +1384,8 @@ void OpenGLSalGraphicsImpl::DrawTransformedTexture( if( nDestHeight == 0 || nDestWidth == 0 ) return; - const double ixscale = rTexture.GetWidth() / nDestWidth; - const double iyscale = rTexture.GetHeight() / nDestHeight; + const double ixscale = rTexture.GetWidth() / double(nDestWidth); + const double iyscale = rTexture.GetHeight() / double(nDestHeight); bool areaScaling = false; bool fastAreaScaling = false; |