Changeset 487 for trunk/src/gl/gl_context.cc
- Timestamp:
- 03/08/16 08:05:51 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_context.cc
r485 r487 216 216 glBindBufferBase( buffer_type_to_enum( info->type ), index, info->glid ); 217 217 else 218 glBindBufferRange( buffer_type_to_enum( info->type ), index, info->glid, offset, size);218 glBindBufferRange( buffer_type_to_enum( info->type ), index, info->glid, static_cast<GLintptr>( offset ), static_cast<GLsizeiptr>( size ) ); 219 219 } 220 220 } … … 790 790 else 791 791 { 792 glDrawArrays( primitive_to_enum(prim), first, static_cast<GLsizei>( count ) );792 glDrawArrays( primitive_to_enum(prim), static_cast<GLint>( first ), static_cast<GLsizei>( count ) ); 793 793 } 794 794 unbind( va );
Note: See TracChangeset
for help on using the changeset viewer.