projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92b4ff
)
Just use flipscreen(), instead of giving true as update argument. This update thing...
author
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 1 May 2004 11:25:45 +0000
(11:25 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 1 May 2004 11:25:45 +0000
(11:25 +0000)
Anyway, still doesn't work.
SVN-Revision: 888
src/screen.cpp
patch
|
blob
|
history
diff --git
a/src/screen.cpp
b/src/screen.cpp
index
18e8489
..
df1b53f
100644
(file)
--- a/
src/screen.cpp
+++ b/
src/screen.cpp
@@
-122,11
+122,12
@@
else
while(alpha >= 0 && alpha < 256)
{
+ surface->draw(0,0,(int)alpha);
+ flipscreen();
+
old_time = cur_time;
cur_time = SDL_GetTicks();
- surface->draw(0,0,(int)alpha, true);
-
/* Calculate the next alpha value */
float calc = (float) ((cur_time - old_time) / seconds);
if(fade_out)