]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix a type issue where SDL_GLContext * was being used instead of
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 Nov 2015 19:18:33 +0000 (19:18 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 Nov 2015 19:18:33 +0000 (19:18 +0000)
SDL_GLContext, this did no harm as the variable is never used...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12229 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index 03af6eaf0bf2e5e8a19dd269f21111a95bc13ce8..a6edf127d361e7231e7cdca5a360cfcf5b9f3df7 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -87,7 +87,7 @@ static int video_bpp;
 static SDL_Surface *screen;
 static int video_flags;
 #else
-static SDL_GLContext *context;
+static SDL_GLContext context;
 static SDL_Window *window;
 static int window_flags;
 #endif