summaryrefslogtreecommitdiff
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-03-03 02:05:33 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-03-03 02:05:33 +0000
commitc1f2f9090bcca309b9aeef7ae57acc280704db81 (patch)
treec50b7ed1237ad37915874c01a3132ff3e7a14342 /src/mesa/main/bufferobj.c
parent7644bfb536c1cdb6dd3223469f1d6d2f1d5146c8 (diff)
change gl_buffer_object's Size field to GLsizeiptrARB type
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 3629ffef87..185d841f81 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -310,7 +310,7 @@ _mesa_buffer_get_subdata( GLcontext *ctx, GLenum target, GLintptrARB offset,
{
(void) ctx; (void) target;
- if (bufObj->Data && ((GLuint) (size + offset) <= bufObj->Size)) {
+ if (bufObj->Data && ((GLsizeiptrARB) (size + offset) <= bufObj->Size)) {
_mesa_memcpy( data, (GLubyte *) bufObj->Data + offset, size );
}
}