summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-03-03 17:56:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-06 12:21:14 +0100
commit1f802afc49e10647e89e00da68feff73ea66a90f (patch)
tree005c656c2f275fc26f0751cd84ec834fb53bb9dc /src/gui/opengl/qopengl.h
parent19501b073142a3b3ac1d228e87e63cc6bc078619 (diff)
Clean up proxy leftovers in gui/opengl
Change-Id: I24d10dab121c23b0683fa99bd309cf557c3ddffb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/gui/opengl/qopengl.h')
-rw-r--r--src/gui/opengl/qopengl.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/opengl/qopengl.h b/src/gui/opengl/qopengl.h
index 025f8b823c..6eb656cd09 100644
--- a/src/gui/opengl/qopengl.h
+++ b/src/gui/opengl/qopengl.h
@@ -107,17 +107,7 @@ typedef GLfloat GLdouble;
# include <OpenGL/glext.h>
# else
# define GL_GLEXT_LEGACY // Prevents GL/gl.h from #including system glext.h
- // In dynamic GL builds qopenglproxy will export the GL functions that are
- // called also in QtGui itself. To prevent linker warnings (msvc) or errors (mingw)
- // we need to make sure the prototypes do not have dllimport.
-# ifdef QT_OPENGL_DYNAMIC_IN_GUI
-# undef WINGDIAPI
-# define WINGDIAPI
-# endif // QT_OPENGL_DYNAMIC_IN_GUI
# include <GL/gl.h>
-# ifdef QT_OPENGL_DYNAMIC_IN_GUI
-# undef WINGDIAPI
-# endif // QT_OPENGL_DYNAMIC_IN_GUI
# include <QtGui/qopenglext.h>
# endif // Q_OS_MAC
#endif