summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/webgl/qwebglcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglcontext.cpp')
-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 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;