summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-11-17 14:24:31 -0500
committerJan Holesovsky <kendy@collabora.com>2014-11-18 15:44:02 +0100
commit89ec42e1d11457c0855a84d1ba651964662140fb (patch)
treed36f4e9963d9a7af46fec3fba8d9846bcb69cbf9 /vcl/inc/opengl
parent21cf443235bf6579959988edee325e8332a42f9f (diff)
vcl: Execute pending operations on source when copying bitmap
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r--vcl/inc/opengl/salbmp.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx
index 99956458a8a7..98fc2feb6e2b 100644
--- a/vcl/inc/opengl/salbmp.hxx
+++ b/vcl/inc/opengl/salbmp.hxx
@@ -84,10 +84,11 @@ public:
public:
bool Create( OpenGLContext& rContext, const OpenGLTexture& rTex, long nX, long nY, long nWidth, long nHeight );
- OpenGLTexture& GetTexture( OpenGLContext& rContext ) const;
+ OpenGLTexture& GetTexture() const;
private:
+ void ExecuteOperations();
GLuint CreateTexture();
void DeleteTexture();
void DrawTexture( GLuint nTexture, const SalTwoRect& rPosAry );