summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-28 16:47:23 +0100
committerDavid Tardon <dtardon@redhat.com>2016-11-29 09:22:03 +0100
commitb53f04662eb7760bb25bb8c6ae97adef0b3fba1b (patch)
tree0759d4cab36c13c58c24dbe9d70b78a3b6c6df81 /vcl/inc
parentd02c3ba8c5e723561edb694e7ed8b2f2c33604af (diff)
tdf#104139 keep the current OpenGL state
This hopefully fixes tdf#104139, which I cannot reproduce on my system. Change-Id: I903f479a1f401804481b9645c9377c4aaeec13f7 (cherry picked from commit 83288089d5efd2cd1d5c76b05a4ba3f782641e88) Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/opengl/RenderState.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/opengl/RenderState.hxx b/vcl/inc/opengl/RenderState.hxx
index 1f526ba4c603..25dd8377e81c 100644
--- a/vcl/inc/opengl/RenderState.hxx
+++ b/vcl/inc/opengl/RenderState.hxx
@@ -22,8 +22,6 @@ protected:
GenericCapabilityState()
: mbTest(readState())
{
- if (mbTest)
- disable();
}
static bool readState()