summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2017-10-02 15:47:07 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2017-10-02 15:32:38 +0000
commitd9952269b0660b48d3b5d1c1ef2f96fd13c69ed2 (patch)
treefd358676f28f8de98c516353d4c6cd6b8bc59779
parent52790359229cbc52089139186a64db448b37c0a8 (diff)
Fix aligment
Change-Id: I66754f445e770f1c33a8c8f04d7736fea3cdb8f5 Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-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 2a6ef80..4d55545 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -440,7 +440,7 @@ QWEBGL_FUNCTION(bufferData, void, glBufferData, GLenum target, GLsizeiptr size,
GLenum usage)
{
postEvent<&bufferData>(target, usage, int(size), data ? QByteArray((const char *)data, size)
- : QByteArray());
+ : QByteArray());
}
QWEBGL_FUNCTION(bufferSubData, void, glBufferSubData, GLenum target, GLintptr offset,