From: Ondřej Hošek Date: Tue, 17 May 2005 13:36:06 +0000 (+0000) Subject: Fixed semi-transparence problems with cards with fglrx drivers X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b734785673f89d5173b117aa7e40c166a3801d72;p=supertux.git Fixed semi-transparence problems with cards with fglrx drivers SVN-Revision: 2500 --- diff --git a/src/video/surface.cpp b/src/video/surface.cpp index ec846e796..e686a6555 100644 --- a/src/video/surface.cpp +++ b/src/video/surface.cpp @@ -550,7 +550,7 @@ SurfaceOpenGL::create_gl(SDL_Surface * surf, GLuint * tex) // is present store in RGB instead of RGBA, this saves a few bytes // of memory, but much more importantly it makes the game look // *much* better in 16bit color mode - int internal_format = GL_RGB10_A2; + int internal_format = GL_RGBA/*GL_RGB10_A2*/; bool has_alpha = false; unsigned char* buf = static_cast(conv->pixels);