Skip to content

Commit

Permalink
Improve MiniGL CVA-related workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
capehill committed Nov 3, 2018
1 parent 9ed7d3f commit 0809bd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/sdl/sdl_glimp.c
Expand Up @@ -869,8 +869,9 @@ static void GLimp_InitExtensions( void )
ri.Printf( PRINT_ALL, "...GL_ARB_multitexture not found\n" );
}

#ifdef __amigaos4__ // MiniGL issue
if ( SDL_GL_ExtensionSupported( "GL_EXT_compiled_vertex_arrays" ) )
#ifdef __amigaos4__ // MiniGL has extra 's' in name
if ( SDL_GL_ExtensionSupported( "GL_EXT_compiled_vertex_array" ) ||
SDL_GL_ExtensionSupported( "GL_EXT_compiled_vertex_arrays" ) )
#else
// GL_EXT_compiled_vertex_array
if ( SDL_GL_ExtensionSupported( "GL_EXT_compiled_vertex_array" ) )
Expand Down

0 comments on commit 0809bd1

Please sign in to comment.