MSVC/OpenGL: Fix warnings about macro redefinition..

Introduced by fc41ee4c92 .

Change-Id: I4c924b0b0a38401ab02c3cc4edb7d78dbd9ef356
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2012-08-27 11:47:01 +02:00 committed by Qt by Nokia
parent 634c39c1a9
commit 711689fef9
2 changed files with 0 additions and 16 deletions

View File

@ -102,14 +102,6 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QOpenGLShader::ShaderType)
class QOpenGLShaderProgramPrivate;
#ifndef GL_EXT_geometry_shader4
# define GL_LINES_ADJACENCY_EXT 0xA
# define GL_LINE_STRIP_ADJACENCY_EXT 0xB
# define GL_TRIANGLES_ADJACENCY_EXT 0xC
# define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD
#endif
class Q_GUI_EXPORT QOpenGLShaderProgram : public QObject
{
Q_OBJECT

View File

@ -100,14 +100,6 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QGLShader::ShaderType)
class QGLShaderProgramPrivate;
#ifndef GL_EXT_geometry_shader4
# define GL_LINES_ADJACENCY_EXT 0xA
# define GL_LINE_STRIP_ADJACENCY_EXT 0xB
# define GL_TRIANGLES_ADJACENCY_EXT 0xC
# define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD
#endif
class Q_OPENGL_EXPORT QGLShaderProgram : public QObject
{
Q_OBJECT