summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglversionfunctions.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-10-06 16:29:18 +0200
committerLars Knoll <lars.knoll@qt.io>2020-10-07 13:54:06 +0200
commitbf5d52020b348d77a8968e39ca36dea7cbcef0e5 (patch)
tree957b78bd362e9785bb8b843a60c8da99f7632a23 /src/opengl/qopenglversionfunctions.h
parent417ae745ec05c92ee132fb5532e5b3c16e1f2e64 (diff)
Remove methods that shouldn't be in the OpenGL wrappers
Those methods where only kept for BC in Qt 5.x, but were actually asserting at runtime. Get rid of them. Fixes: QTBUG-86475 Change-Id: I19e6e4ada22b6a4427a2cb13962792c5a3b461af Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl/qopenglversionfunctions.h')
-rw-r--r--src/opengl/qopenglversionfunctions.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/opengl/qopenglversionfunctions.h b/src/opengl/qopenglversionfunctions.h
index 546f3f3e41..274ed29c7c 100644
--- a/src/opengl/qopenglversionfunctions.h
+++ b/src/opengl/qopenglversionfunctions.h
@@ -54,9 +54,6 @@
#ifndef QT_NO_OPENGL
-#if QT_DEPRECATED_SINCE(5, 6)
-#include <QtCore/qhash.h>
-#endif
#include <QtCore/qhashfunctions.h>
#include <QtCore/qpair.h>
#include <QtGui/qopengl.h>
@@ -77,10 +74,6 @@ class QOpenGLContext;
#pragma qt_sync_stop_processing
#endif
-#define QOPENGL_DEPRECATEDFUNCTION \
- qFatal("This function was erroneously included in previous versions of Qt and is here only for binary compatibility. " \
- "If you need to use this function, please use a legacy OpenGL version or a Compatibility profile.")
-
struct QOpenGLVersionStatus
{
enum OpenGLStatus {