summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/webgl/qwebglcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglcontext.cpp')
-rw-r--r--src/plugins/platforms/webgl/qwebglcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp
index e3c25bf..151693d 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -905,8 +905,8 @@ static void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GL
QCoreApplication::postEvent(QWebGLIntegrationPrivate::instance()->webSocketServer, event);
const auto values = queryValue(id).toMap();
int rtype = values["rtype"].toInt();
- int rsize = values["rtype"].toInt();
- QByteArray rname = values["rtype"].toByteArray();
+ const auto rsize = values["rsize"].toInt();
+ const auto rname = values["rname"].toByteArray();
if (type)
*type = rtype;
if (size)