projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096a5a3
)
Fixed semi-transparence problems with cards with fglrx drivers
author
Ondřej Hošek
<ondra.hosek@gmail.com>
Tue, 17 May 2005 13:36:06 +0000
(13:36 +0000)
committer
Ondřej Hošek
<ondra.hosek@gmail.com>
Tue, 17 May 2005 13:36:06 +0000
(13:36 +0000)
SVN-Revision: 2500
src/video/surface.cpp
patch
|
blob
|
history
diff --git
a/src/video/surface.cpp
b/src/video/surface.cpp
index
ec846e7
..
e686a65
100644
(file)
--- 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_RGB
10_A2
;
+ int internal_format = GL_RGB
A/*GL_RGB10_A2*/
;
bool has_alpha = false;
unsigned char* buf = static_cast<unsigned char*>(conv->pixels);