diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-18 11:19:02 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-12-02 15:47:17 +0100 |
commit | 995848cb75977659ea500f4493e5894800da5870 (patch) | |
tree | 4ea35b986b5e632003227e4d445b1bbe1f67ab20 /vcl/opengl | |
parent | 61f8e9734d5e27fd39978bada0e91c1526bc6003 (diff) |
vcl: Actually keep the new offscreen texture around
Change-Id: Ie44c680f0c217214c4a3642d34fa704e8eeca917
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 3929d63b3aaf..0000c4071d49 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -316,6 +316,7 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture() glFramebufferTexture2D( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, aNewTex.Id(), 0 ); glViewport( 0, 0, GetWidth(), GetHeight() ); DrawTexture( maOffscreenTex, aPosAry ); + maOffscreenTex = aNewTex; CHECK_GL_ERROR(); return true; |