changeset 593:0136d21b7764

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
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Feb 2003 21:01:03 +0000
parents 1970e458070d
children a71ce390adeb
files src/video/gem/SDL_gemvideo.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c	Sat Feb 01 20:33:59 2003 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Tue Feb 04 21:01:03 2003 +0000
@@ -105,13 +105,6 @@
 
 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;