diff options
Diffstat (limited to 'src/opengl/qglbuffer.h')
-rw-r--r-- | src/opengl/qglbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglbuffer.h b/src/opengl/qglbuffer.h index e424ff2b5c..67b1a68072 100644 --- a/src/opengl/qglbuffer.h +++ b/src/opengl/qglbuffer.h @@ -103,7 +103,7 @@ public: void write(int offset, const void *data, int count); void allocate(const void *data, int count); - inline void allocate(int count) { allocate(0, count); } + inline void allocate(int count) { allocate(Q_NULLPTR, count); } void *map(QGLBuffer::Access access); bool unmap(); |