summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorMarcel Krems <m.krems@software-vision.eu>2020-08-31 03:10:53 +0200
committerMarcel Krems <m.krems@software-vision.eu>2020-09-08 08:02:15 +0200
commitfc3d10d37a1396bc6cc18fe4b614af1f8fad6873 (patch)
treed9f62e9fd456696ed85b74e1a17fe45d7be8f6bc /src/gui/opengl
parente8b0b5c0cecd699199adf4cab92a2a44ce553e06 (diff)
Remove deprecated method QOpenGLFunctions::initializeGLFunctions()
Change-Id: I0c02b22630f8c9d463f48f6402a1930b60d3f818 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r--src/gui/opengl/qopenglfunctions.cpp7
-rw-r--r--src/gui/opengl/qopenglfunctions.h4
2 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/opengl/qopenglfunctions.cpp b/src/gui/opengl/qopenglfunctions.cpp
index 7c17d3798b..d2cb4df022 100644
--- a/src/gui/opengl/qopenglfunctions.cpp
+++ b/src/gui/opengl/qopenglfunctions.cpp
@@ -563,13 +563,6 @@ bool QOpenGLExtensions::hasOpenGLExtension(QOpenGLExtensions::OpenGLExtension ex
}
/*!
- \fn void QOpenGLFunctions::initializeGLFunctions()
- \obsolete
-
- Use initializeOpenGLFunctions() instead.
-*/
-
-/*!
Initializes OpenGL function resolution for the current context.
After calling this function, the QOpenGLFunctions object can only be
diff --git a/src/gui/opengl/qopenglfunctions.h b/src/gui/opengl/qopenglfunctions.h
index 66bdac5ca5..76552cdd0e 100644
--- a/src/gui/opengl/qopenglfunctions.h
+++ b/src/gui/opengl/qopenglfunctions.h
@@ -269,10 +269,6 @@ public:
void initializeOpenGLFunctions();
-#if QT_DEPRECATED_SINCE(5, 0)
- QT_DEPRECATED void initializeGLFunctions() { initializeOpenGLFunctions(); }
-#endif
-
// GLES2 + OpenGL1 common subset
void glBindTexture(GLenum target, GLuint texture);
void glBlendFunc(GLenum sfactor, GLenum dfactor);