summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opengl/gl2paintengineex/qglshader.cpp1
-rw-r--r--src/opengl/qglextensions_p.h8
2 files changed, 1 insertions, 8 deletions
diff --git a/src/opengl/gl2paintengineex/qglshader.cpp b/src/opengl/gl2paintengineex/qglshader.cpp
index 4ac6e61..ea4cae9 100644
--- a/src/opengl/gl2paintengineex/qglshader.cpp
+++ b/src/opengl/gl2paintengineex/qglshader.cpp
@@ -51,6 +51,7 @@
#if !defined(QT_OPENGL_ES_2)
static const char *qglslDefines = "#define lowp\n#define mediump\n#define highp\n";
+#include "private/qgl_p.h"
#else
static const char *qglslDefines = "";
#endif
diff --git a/src/opengl/qglextensions_p.h b/src/opengl/qglextensions_p.h
index 69632e7..9249730 100644
--- a/src/opengl/qglextensions_p.h
+++ b/src/opengl/qglextensions_p.h
@@ -412,18 +412,10 @@ struct QGLExtensionFuncs
_glUnmapBufferARB qt_glUnmapBufferARB;
_glGetActiveAttrib qt_glGetActiveAttrib;
- _glGetAttribLocation qt_glGetAttribLocation;
_glGetActiveUniform qt_glGetActiveUniform;
- _glGetProgramInfoLog qt_glGetProgramInfoLog;
_glUniform1f qt_glUniform1f;
_glUniform2f qt_glUniform2f;
_glUniform4f qt_glUniform4f;
- _glUniformMatrix2fv qt_glUniformMatrix2fv;
- _glUniformMatrix3fv qt_glUniformMatrix3fv;
- _glUniformMatrix4fv qt_glUniformMatrix4fv;
- _glEnableVertexAttribArray qt_glEnableVertexAttribArray;
- _glDisableVertexAttribArray qt_glDisableVertexAttribArray;
- _glVertexAttribPointer qt_glVertexAttribPointer;
_glStencilOpSeparate qt_glStencilOpSeparate;
};