Ignore:
Timestamp:
03/08/16 08:05:51 (9 years ago)
Author:
epyon
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gl/gl_context.cc

    r485 r487  
    216216                        glBindBufferBase( buffer_type_to_enum( info->type ), index, info->glid );
    217217                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 ) );
    219219        }
    220220}
     
    790790                else
    791791                {
    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 ) );
    793793                }
    794794                unbind( va );
Note: See TracChangeset for help on using the changeset viewer.