diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-18 11:19:02 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-22 20:14:16 +0100 |
commit | 121b8487f13b4ac3e3a9517a02000c9fe55afd68 (patch) | |
tree | 86fdb0182f9fd0ab6b147037bd275a0122d5f905 /vcl | |
parent | 3181a7a10f79fd065af88e32c402874878715684 (diff) |
vcl: Actually keep the new offscreen texture around
Change-Id: Ie44c680f0c217214c4a3642d34fa704e8eeca917
Diffstat (limited to 'vcl')
-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 1abc86e11098..c34d085b2537 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; |