diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-11-17 04:35:29 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-11-17 22:38:58 +0000 |
commit | dfeaee01a30109883e41f45faf28fc247dadb3b2 (patch) | |
tree | 26e1bf401c7f4bdba70081991d2b6f030183020f /vcl/inc/openglgdiimpl.hxx | |
parent | vcl: make OpenGLContext::makeCurrent unfeasibly faster. (diff) | |
download | core-dfeaee01a30109883e41f45faf28fc247dadb3b2.tar.gz core-dfeaee01a30109883e41f45faf28fc247dadb3b2.zip |
vcl: copyBits should operate on mrParent if no context supplied.
eg. OutputDevice::DrawOutDev:
mpGraphics->CopyBits( aPosAry, NULL, this, NULL );
Change-Id: I0b041bb5aa6aba573b9f589842084722481cb438
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index dd0b1e38712d..80d760a69796 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -216,7 +216,7 @@ public: // CopyBits and DrawBitmap --> RasterOp and ClipRegion // CopyBits() --> pSrcGraphics == NULL, then CopyBits on same Graphics - virtual void copyBits( const SalTwoRect& rPosAry, SalGraphics* pSrcGraphics ) SAL_OVERRIDE; + void DoCopyBits( const SalTwoRect& rPosAry, OpenGLSalGraphicsImpl *pSrcImpl ); virtual void drawBitmap( const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap ) SAL_OVERRIDE; |