projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb7473
)
Ooops, forgot to remove a comment.
author
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 15 May 2004 14:26:38 +0000
(14:26 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 15 May 2004 14:26:38 +0000
(14:26 +0000)
SVN-Revision: 1196
src/screen.cpp
patch
|
blob
|
history
diff --git
a/src/screen.cpp
b/src/screen.cpp
index
66248b3
..
d20543f
100644
(file)
--- a/
src/screen.cpp
+++ b/
src/screen.cpp
@@
-82,8
+82,6
@@
void drawgradient(Color top_clr, Color bot_clr)
{
#endif
-//void fillrect(float x, float y, float w, float h, int r, int g, int b, int a)
-
for(float y = 0; y < screen->h; y += 2)
fillrect(0, (int)y, screen->w, 2,
(int)(((float)(top_clr.red-bot_clr.red)/(0-screen->h)) * y + top_clr.red),