summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglvertexarrayobject.cpp
diff options
context:
space:
mode:
authorIsak Fyksen <[email protected]>2024-10-17 12:01:48 +0200
committerIsak Fyksen <[email protected]>2024-11-21 16:10:37 +0000
commit35022c1698664b1171e0e5e9611bd9de75d31765 (patch)
tree208b7e1600992fd48c94f515076798587c82b2d9 /src/opengl/qopenglvertexarrayobject.cpp
parentabe3eed54889dc8979b14c4aed1a0cae431f50ff (diff)
Replace QPair/qMakePair with std::pair in qtbase/opengl
Task-number: QTBUG-115841 Change-Id: Ic7a362a41fb52d39d8a168f0ba4ed6d33458dd73 Reviewed-by: Matthias Rauter <[email protected]>
Diffstat (limited to 'src/opengl/qopenglvertexarrayobject.cpp')
-rw-r--r--src/opengl/qopenglvertexarrayobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglvertexarrayobject.cpp b/src/opengl/qopenglvertexarrayobject.cpp
index 98374fb9e24..ad761951d01 100644
--- a/src/opengl/qopenglvertexarrayobject.cpp
+++ b/src/opengl/qopenglvertexarrayobject.cpp
@@ -157,7 +157,7 @@ bool QOpenGLVertexArrayObjectPrivate::create()
vaoFuncsType = NotSupported;
QSurfaceFormat format = ctx->format();
#if !QT_CONFIG(opengles2)
- if (format.version() >= qMakePair(3,2)) {
+ if (format.version() >= std::pair(3,2)) {
vaoFuncs.core_3_2 = QOpenGLVersionFunctionsFactory::get<QOpenGLFunctions_3_2_Core>(ctx);
vaoFuncsType = Core_3_2;
vaoFuncs.core_3_2->glGenVertexArrays(1, &vao);