summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/webgl/qwebglcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp
index 88f21f0..5e92565 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -546,7 +546,7 @@ QWEBGL_FUNCTION(bufferData, void, glBufferData,
QWEBGL_FUNCTION(bufferSubData, void, glBufferSubData,
(GLenum) target, (GLintptr) offset, (GLsizeiptr) size, (const void *) data)
{
- postEvent<&bufferSubData>(target, int(size), int(offset), QByteArray((const char *)data, size));
+ postEvent<&bufferSubData>(target, int(offset), QByteArray((const char *)data, size));
}
QWEBGL_FUNCTION(checkFramebufferStatus, GLenum, glCheckFramebufferStatus,