From 9af1d11fcf7e0901e1352e5079ebb392155fe73a Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 2 Oct 2014 14:00:35 +0200 Subject: [PATCH] Remove wrong unneeded definition in qopenglextensions_p.h The types are already defined by qopengl.h, and the GLchar could be incorrectly defined in the Qt namespace for GLES2 namespaced builds. Change-Id: Ia2052599538af51fdadc434935d51bbfe8437453 Reviewed-by: Laszlo Agocs --- src/gui/opengl/qopenglextensions_p.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/gui/opengl/qopenglextensions_p.h b/src/gui/opengl/qopenglextensions_p.h index b4e90b3d84..72e32e939e 100644 --- a/src/gui/opengl/qopenglextensions_p.h +++ b/src/gui/opengl/qopenglextensions_p.h @@ -49,18 +49,6 @@ QT_BEGIN_NAMESPACE - -#if 0 -#ifndef GL_ARB_vertex_buffer_object -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; -#endif -#endif - -#ifndef GL_VERSION_2_0 -typedef char GLchar; -#endif - class QOpenGLExtensionsPrivate; class Q_GUI_EXPORT QOpenGLExtensions : public QOpenGLFunctions