diff options
author | Jesus Fernandez <jesus.fernandez@qt.io> | 2018-09-14 13:27:36 +0200 |
---|---|---|
committer | Jesus Fernandez <Jesus.Fernandez@qt.io> | 2018-09-14 11:38:42 +0000 |
commit | 35e13db60aeee432dc115c691299955e9715b4c2 (patch) | |
tree | 338b23c47e03b109c834e0ab7a01a9521affe444 /src | |
parent | 41e6ad0b8c426e270491113925776982c27b53ad (diff) |
Fix -Wzero-as-null-pointer-constant
Change-Id: Iafcd7eeda4023027111b95d101d569a8ceb625d6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/webgl/qwebglcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp index aa13a3f..3315c52 100644 --- a/src/plugins/platforms/webgl/qwebglcontext.cpp +++ b/src/plugins/platforms/webgl/qwebglcontext.cpp @@ -84,7 +84,7 @@ struct ContextData { // GLuint boundReadFramebuffer = 0; GLuint unpackAlignment = 4; struct VertexAttrib { - VertexAttrib() : arrayBufferBinding(0), pointer(0), enabled(false) { } + VertexAttrib() : arrayBufferBinding(0), pointer(nullptr), enabled(false) { } GLuint arrayBufferBinding; const void *pointer; bool enabled; |