From 21b9f07323c2792a63adbe9000875d5ab63ac471 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 14 Feb 2023 18:52:51 +0300 Subject: [PATCH] engine: platform: sdl: remove legacy XASH_NANOGL macro from vid code, it's only relevant for ref_gl --- engine/platform/sdl/vid_sdl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/engine/platform/sdl/vid_sdl.c b/engine/platform/sdl/vid_sdl.c index 4fc6b72b..3383fe56 100644 --- a/engine/platform/sdl/vid_sdl.c +++ b/engine/platform/sdl/vid_sdl.c @@ -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;