summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-03-14 22:11:29 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-03-14 22:11:29 +0100
commita12de5aab0c2f1553086de13a7bdb92fac81ee70 (patch)
tree8dcfa36b1e055d736eb96300a1c5fa511ea6ab6d /vcl
parent28469999d1d228db04c326398d84cf7034a7f391 (diff)
Fix build: move namespace again.
Change-Id: I60dd154cef72146a2f98ce72480091046fabd6f2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index c19f8f532df9..2482ebf0719b 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -98,9 +98,11 @@ debug_callback(GLenum source, GLenum type, GLuint id,
#endif
-namespace {
#if defined( UNX )
+
+namespace {
+
static bool errorTriggered;
int oglErrorHandler( Display* /*dpy*/, XErrorEvent* /*evnt*/ )
{