From b8d163f4334424e78290eae49713e6ba2405b30f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 20 May 2016 09:41:18 +0100 Subject: Split OpenGLContext up into SalInstance specific classes which, at least theoretically, allows there to be vclplug specific ones. i.e. a gtk3 specific one which doesn't assume gtk3 is running under X Change-Id: I6c007a87abbd3049b6fffc70d349e3b7ac445eec --- vcl/inc/opengl/zone.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/inc/opengl') diff --git a/vcl/inc/opengl/zone.hxx b/vcl/inc/opengl/zone.hxx index c6ba0ccc7487..11f6ed00ec3c 100644 --- a/vcl/inc/opengl/zone.hxx +++ b/vcl/inc/opengl/zone.hxx @@ -21,7 +21,7 @@ class OpenGLWatchdogThread; * We want to be able to detect if a given crash came * from the OpenGL code, so use this helper to track that. */ -class OpenGLZone { +class VCL_DLLPUBLIC OpenGLZone { friend class OpenGLZoneTest; friend class OpenGLWatchdogThread; friend class OpenGLSalGraphicsImpl; @@ -31,8 +31,8 @@ class OpenGLZone { /// how many times have we left a new GL zone static volatile sal_uInt64 gnLeaveCount; - static VCL_DLLPUBLIC void enter(); - static VCL_DLLPUBLIC void leave(); + static void enter(); + static void leave(); public: OpenGLZone() { gnEnterCount++; } ~OpenGLZone() { gnLeaveCount++; } -- cgit