diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-02-01 04:45:10 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-02-01 04:45:10 (GMT) |
commit | 533e40ca32eefe271e385bb2740e001ffc82b9e6 (patch) | |
tree | c70ba1593bf2e6c3617ed8aea4a5404c5de398ee /src/opengl/qglbuffer.h | |
parent | 3733ee3ca9fdc964f2453089ca18c9179839846e (diff) | |
download | Qt-533e40ca32eefe271e385bb2740e001ffc82b9e6.zip Qt-533e40ca32eefe271e385bb2740e001ffc82b9e6.tar.gz Qt-533e40ca32eefe271e385bb2740e001ffc82b9e6.tar.bz2 |
Placate pedantic compiler warning modes on QGLBuffer
Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qglbuffer.h')
-rw-r--r-- | src/opengl/qglbuffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opengl/qglbuffer.h b/src/opengl/qglbuffer.h index 68ee56c..ecb86e2 100644 --- a/src/opengl/qglbuffer.h +++ b/src/opengl/qglbuffer.h @@ -101,11 +101,11 @@ public: int size() const; - bool read(int offset, void *data, int size); - void write(int offset, const void *data, int size); + bool read(int offset, void *data, int count); + void write(int offset, const void *data, int count); - void allocate(const void *data, int size); - inline void allocate(int size) { allocate(0, size); } + void allocate(const void *data, int count); + inline void allocate(int count) { allocate(0, count); } void *map(QGLBuffer::Access access); bool unmap(); |