change gl_buffer_object's Size field to GLsizeiptrARB type

This commit is contained in:
Brian Paul
2005-03-03 02:05:33 +00:00
parent 7644bfb536
commit c1f2f9090b
2 changed files with 2 additions and 2 deletions

View File

@@ -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 );
}
}