File a8e-SDL.patch of Package a8e

--- A8E.c
+++ A8E.c	2007/11/14 16:06:05
@@ -88,7 +88,7 @@
 		SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
 		SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
 		SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
-		SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 32);
+		SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);
 		SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
 		
 		if(lScreenWidth == 0 || lScreenHeight == 0)
@@ -113,7 +113,7 @@
 
 	if(pScreenSurface == NULL)
 	{
-		printf("SDL_SetVideoMode() failed!\n");
+		printf("SDL_SetVideoMode() failed: %s\n",SDL_GetError());
 
 		exit(-1);
 	}
openSUSE Build Service is sponsored by