summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglbuffer.h')
-rw-r--r--src/opengl/qglbuffer.h8
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();