Permalink
Browse files

Remove ARB references that aren't needed anymore

  • Loading branch information...
1 parent ae9477c commit cb062d0295ffc231db5c857f8f908f71e21900a4 @cmf028 cmf028 committed Mar 9, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 daemon/src/engine/sys/sdl_glimp.cpp
@@ -1119,14 +1119,14 @@ static void GLimp_InitExtensions()
if ( r_ext_occlusion_query->integer != 0 )
{
glConfig2.occlusionQueryAvailable = true;
- glGetQueryivARB( GL_SAMPLES_PASSED, GL_QUERY_COUNTER_BITS, &glConfig2.occlusionQueryBits );
+ glGetQueryiv( GL_SAMPLES_PASSED, GL_QUERY_COUNTER_BITS, &glConfig2.occlusionQueryBits );
}
// made required in OpenGL 2.0
glConfig2.drawBuffersAvailable = false;
if ( r_ext_draw_buffers->integer != 0 )
{
- glGetIntegerv( GL_MAX_DRAW_BUFFERS_ARB, &glConfig2.maxDrawBuffers );
+ glGetIntegerv( GL_MAX_DRAW_BUFFERS, &glConfig2.maxDrawBuffers );
glConfig2.drawBuffersAvailable = true;
}

0 comments on commit cb062d0

Please sign in to comment.