Kaydet (Commit) 878aadde authored tarafından Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Kaydeden (comit) Jan Holesovsky

vcl: Update current context before executing scale operation

Change-Id: I332c954259bdc7e34718449023f5aa82323987cc
üst 4b6feefa
......@@ -252,6 +252,8 @@ bool OpenGLSalBitmap::ImplScale( const double& rScaleX, const double& rScaleY, s
{
SAL_INFO( "vcl.opengl", "::ImplScale" );
makeCurrent();
if( nScaleFlag == BMP_SCALE_FAST )
{
return ImplScaleFilter( rScaleX, rScaleY, GL_NEAREST );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment