From d4d00a35d77f8f3b4c37ffe4bf2fb29362f2eb68 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 16 Dec 2011 15:09:15 +0100 Subject: [PATCH] :v --- gfx/sdlwrap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gfx/sdlwrap.c b/gfx/sdlwrap.c index 9cab6d28c0..e276e633b8 100644 --- a/gfx/sdlwrap.c +++ b/gfx/sdlwrap.c @@ -62,13 +62,10 @@ void sdlwrap_set_swap_interval(unsigned interval, bool inited) #else static int (*glx_swap_interval)(int) = NULL; if (!glx_swap_interval) - { SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalSGI"); - } if (!glx_swap_interval) - { SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalMESA"); - } + if (glx_swap_interval) glx_swap_interval(g_interval); else