summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglfunctions_3_2_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopenglfunctions_3_2_core.h')
-rw-r--r--src/gui/opengl/qopenglfunctions_3_2_core.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/opengl/qopenglfunctions_3_2_core.h b/src/gui/opengl/qopenglfunctions_3_2_core.h
index 016ed7570a..2646271914 100644
--- a/src/gui/opengl/qopenglfunctions_3_2_core.h
+++ b/src/gui/opengl/qopenglfunctions_3_2_core.h
@@ -609,12 +609,14 @@ inline void QOpenGLFunctions_3_2_Core::glCullFace(GLenum mode)
// OpenGL 1.1 core functions
inline void QOpenGLFunctions_3_2_Core::glIndexubv(const GLubyte *c)
{
- d_1_1_Core->Indexubv(c);
+ Q_UNUSED(c);
+ QOPENGL_DEPRECATEDFUNCTION;
}
inline void QOpenGLFunctions_3_2_Core::glIndexub(GLubyte c)
{
- d_1_1_Core->Indexub(c);
+ Q_UNUSED(c);
+ QOPENGL_DEPRECATEDFUNCTION;
}
inline GLboolean QOpenGLFunctions_3_2_Core::glIsTexture(GLuint texture)
@@ -674,7 +676,9 @@ inline void QOpenGLFunctions_3_2_Core::glPolygonOffset(GLfloat factor, GLfloat u
inline void QOpenGLFunctions_3_2_Core::glGetPointerv(GLenum pname, GLvoid* *params)
{
- d_1_1_Core->GetPointerv(pname, params);
+ Q_UNUSED(pname);
+ Q_UNUSED(params);
+ QOPENGL_DEPRECATEDFUNCTION;
}
inline void QOpenGLFunctions_3_2_Core::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)