From b734785673f89d5173b117aa7e40c166a3801d72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Ho=C5=A1ek?= Date: Tue, 17 May 2005 13:36:06 +0000 Subject: [PATCH] Fixed semi-transparence problems with cards with fglrx drivers SVN-Revision: 2500 --- src/video/surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0