summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglfunctions.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-17 12:05:57 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-18 08:21:19 +0200
commitda68749fdbbdca0a946d6b6334d2709c47f8a23d (patch)
tree1715f900cfe3ff506b6f3aaeecdce2bfab5d2fc0 /src/opengl/qglfunctions.h
parent730382a968b064df8901982e519c1b0756c1a696 (diff)
OpenGL: Remove Q_WS_ defines.
Change-Id: I351a910968ff7f46550af5b3742959cb0cab540d Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/opengl/qglfunctions.h')
-rw-r--r--src/opengl/qglfunctions.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/opengl/qglfunctions.h b/src/opengl/qglfunctions.h
index e789d4020d..3b50a1cd66 100644
--- a/src/opengl/qglfunctions.h
+++ b/src/opengl/qglfunctions.h
@@ -59,11 +59,7 @@ QT_MODULE(OpenGL)
typedef ptrdiff_t qgl_GLintptr;
typedef ptrdiff_t qgl_GLsizeiptr;
-#ifdef Q_WS_WIN
-# define QGLF_APIENTRY APIENTRY
-#endif
-#ifndef Q_WS_MAC
# ifndef QGLF_APIENTRYP
# ifdef QGLF_APIENTRY
# define QGLF_APIENTRYP QGLF_APIENTRY *
@@ -72,10 +68,6 @@ typedef ptrdiff_t qgl_GLsizeiptr;
# define QGLF_APIENTRYP *
# endif
# endif
-#else
-# define QGLF_APIENTRY
-# define QGLF_APIENTRYP *
-#endif
struct QGLFunctionsPrivate;