I allways noticed that in the SDL mode, the gradient was sometimes different than...
authorRicardo Cruz <rick2@aeiou.pt>
Sat, 15 May 2004 14:19:01 +0000 (14:19 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sat, 15 May 2004 14:19:01 +0000 (14:19 +0000)
commit5fb74739c5f4eebd93fd85a16fd4e17d6ac2776b
tree68c42b6d7269ab7b50662ce263d0d588a1430cbb
parentd89d83c2165d5d7496af195969be02daf6c0b73b
I allways noticed that in the SDL mode, the gradient was sometimes different than the OpenGL. But when I did the function, everything was okay and in most of the gradients it worked fine.
Finally, gone to the code and corrected that. It was just a typo (screen->w was being used in green and blue calculation, instead of screen->h).

SVN-Revision: 1195
src/screen.cpp