Browse Source

engine: platform: sdl: remove legacy XASH_NANOGL macro from vid code, it's only relevant for ref_gl

pull/2/head
Alibek Omarov 2 years ago
parent
commit
21b9f07323
  1. 6
      engine/platform/sdl/vid_sdl.c

6
engine/platform/sdl/vid_sdl.c

@ -422,15 +422,11 @@ GL_GetProcAddress @@ -422,15 +422,11 @@ GL_GetProcAddress
*/
void *GL_GetProcAddress( const char *name )
{
#if defined( XASH_NANOGL )
void *func = nanoGL_GetProcAddress( name );
#else
void *func = SDL_GL_GetProcAddress( name );
#endif
if( !func )
{
Con_Reportf( S_ERROR "Error: GL_GetProcAddress failed for %s\n", name );
Con_Reportf( S_ERROR "GL_GetProcAddress failed for %s\n", name );
}
return func;

Loading…
Cancel
Save