]> git.rm.cloudns.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)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 24 Nov 2015 13:37:33 +0000 (14:37 +0100)
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
::stable-branch::merge=d38b46c83edc12710082d43ae303a4bbbd2d9486

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