diff options
author | Edi Cikovic <edi.cikovic@gmail.com> | 2018-02-13 20:10:43 +0100 |
---|---|---|
committer | Edi Cikovic <edi.cikovic@codereview.qt-project.org> | 2018-02-15 11:07:46 +0000 |
commit | 5a39420de0bb981be83d988b93ebc70906a4296e (patch) | |
tree | 0c0ce92e7e83cf00b30d1a07798d4e4ede4c669d | |
parent | 2a66261776e83139f84d586826a6bd82abc1d2db (diff) |
Correct variable name in webqt.jsx
Variable context was renamed to currentContext as glUniform3fv wasn't
working as a result of the wrong variable name.
Change-Id: I0946441ea063eb6104066a43f963da67bee4e0d8
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
-rw-r--r-- | src/plugins/platforms/webgl/webqt.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/webqt.jsx b/src/plugins/platforms/webgl/webqt.jsx index c886733..ed8bb70 100644 --- a/src/plugins/platforms/webgl/webqt.jsx +++ b/src/plugins/platforms/webgl/webqt.jsx @@ -725,7 +725,7 @@ window.onload = function () { gl._uniform3fv = gl.uniform3fv; gl.uniform3fv = function(location, value) { - var d = contextData[context]; + var d = contextData[currentContext]; gl._uniform3fv(d.uniformLocationMap[location], value); }; |