Date: Fri, 31 Jan 2003 15:17:30 +0100
authorSam Lantinga <slouken@libsdl.org>
Tue, 04 Feb 2003 21:01:03 +0000
changeset 5930136d21b7764
parent 592 1970e458070d
child 594 a71ce390adeb
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
src/video/gem/SDL_gemvideo.c
     1.1 --- a/src/video/gem/SDL_gemvideo.c	Sat Feb 01 20:33:59 2003 +0000
     1.2 +++ b/src/video/gem/SDL_gemvideo.c	Tue Feb 04 21:01:03 2003 +0000
     1.3 @@ -105,13 +105,6 @@
     1.4  
     1.5  static int GEM_Available(void)
     1.6  {
     1.7 -	const char *envr = getenv("SDL_VIDEODRIVER");
     1.8 -
     1.9 -	/* Check if user asked a different video driver */
    1.10 -	if ((envr) && (strcmp(envr, GEM_VID_DRIVER_NAME)!=0)) {
    1.11 -		return 0;
    1.12 -	}
    1.13 -
    1.14  	/* Test if AES available */
    1.15  	if (appl_init() == -1)
    1.16  		return 0;