summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-10-30 16:06:01 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:58:33 +0100
commitec35815319f70def8d41fe4a865d08b90a953203 (patch)
treeccc59ebc3266978eede7f653180b476616ebaf2a /include
parentdon't include the win version of svsys directly (diff)
downloadcore-ec35815319f70def8d41fe4a865d08b90a953203.tar.gz
core-ec35815319f70def8d41fe4a865d08b90a953203.zip
make it possible to select the OpenGL rendering on windows
Change-Id: Id60b8121a890e6d1f46bd671549ac681f42b7660
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index bb7aa3b85125..91b54e4e8ade 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -22,9 +22,12 @@
# include "GL/glxew.h"
# include <postx.h>
#elif defined( _WIN32 )
+#ifndef INCLUDED_PRE_POST_WIN_H
+#define INCLUDED_PRE_POST_WIN_H
# include "prewin.h"
# include "postwin.h"
#endif
+#endif
#if defined( _WIN32 )
#include <GL/glext.h>