Get the Windows GL context to compile.
authorJason Barron <jason.barron@nokia.com>
Wed, 14 Sep 2011 14:35:22 +0000 (16:35 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 07:11:35 +0000 (09:11 +0200)
Not sure why this was not the case all along, but on my MSVC2008
installation the include must be prefixed by the 'GL' directory.

Change-Id: Icb29b072446bab386b5c62ab0df453ded41b8ede
Reviewed-on: http://codereview.qt-project.org/4914
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/plugins/platforms/windows/qwindowsglcontext.cpp

index c144a62..31d8c02 100644 (file)
 #include <QtCore/QSysInfo>
 
 #include <WinGDI.h>
-#if defined(Q_CC_MINGW)
-#    include <GL/Gl.h>
-#else
-#    include <Gl.h>
-#endif
+#include <GL/Gl.h>
 
 // #define DEBUG_GL