From 83288089d5efd2cd1d5c76b05a4ba3f782641e88 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 28 Nov 2016 16:47:23 +0100 Subject: tdf#104139 keep the current OpenGL state This hopefully fixes tdf#104139, which I cannot reproduce on my system. Change-Id: I903f479a1f401804481b9645c9377c4aaeec13f7 --- vcl/inc/opengl/RenderState.hxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl/inc') 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() -- cgit