summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglengineshadermanager.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:36:03 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-26 15:09:17 +0200
commitb043871d2b1ee9c57d75fe8a3f8cb22e35a4fe4d (patch)
tree129fd32333589a0a2e2351ef699fafbe97f4969b /src/opengl/qopenglengineshadermanager.cpp
parentf529f94132e8095ccd50030baeba2b2f18cabdb8 (diff)
Use QList instead of QVector in opengl
Task-number: QTBUG-84469 Change-Id: I26c1cfab7f2d9aa5c71847ae02bfe0cf15c04a1b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl/qopenglengineshadermanager.cpp')
-rw-r--r--src/opengl/qopenglengineshadermanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglengineshadermanager.cpp b/src/opengl/qopenglengineshadermanager.cpp
index 09bd9ff096..dc52b326bb 100644
--- a/src/opengl/qopenglengineshadermanager.cpp
+++ b/src/opengl/qopenglengineshadermanager.cpp
@@ -524,7 +524,7 @@ GLuint QOpenGLEngineShaderManager::getUniformLocation(Uniform id)
if (!currentShaderProg)
return 0;
- QVector<uint> &uniformLocations = currentShaderProg->uniformLocations;
+ QList<uint> &uniformLocations = currentShaderProg->uniformLocations;
if (uniformLocations.isEmpty())
uniformLocations.fill(GLuint(-1), NumUniforms);