From 5fbc9a0e44f5aca2b31f2268ebfd4e93b4bb5b10 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 4 Feb 2003 21:01:03 +0000 Subject: [PATCH] Date: Fri, 31 Jan 2003 15:17:30 +0100 From: Patrice Mandin Subject: [SDL] Small patches for SDL - One for SDL, which removes check for SDL_VIDEODRIVER in the Atari video drivers. It is unnecessary 'cause it is done in SDL_video.c --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40594 --- src/video/gem/SDL_gemvideo.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/video/gem/SDL_gemvideo.c b/src/video/gem/SDL_gemvideo.c index 23a5f0266..46bd8ce93 100644 --- a/src/video/gem/SDL_gemvideo.c +++ b/src/video/gem/SDL_gemvideo.c @@ -105,13 +105,6 @@ static void refresh_window(_THIS, int winhandle, short *rect); static int GEM_Available(void) { - const char *envr = getenv("SDL_VIDEODRIVER"); - - /* Check if user asked a different video driver */ - if ((envr) && (strcmp(envr, GEM_VID_DRIVER_NAME)!=0)) { - return 0; - } - /* Test if AES available */ if (appl_init() == -1) return 0;