diff options
| -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; |
