projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* remove unused libvorbisenc from FindOggVorbis and link path
[supertux.git]
/
src
/
video
/
sdl_renderer.cpp
diff --git
a/src/video/sdl_renderer.cpp
b/src/video/sdl_renderer.cpp
index
33fee59
..
b02d0a1
100644
(file)
--- a/
src/video/sdl_renderer.cpp
+++ b/
src/video/sdl_renderer.cpp
@@
-260,7
+260,7
@@
namespace SDL
DrawingEffect effect = request.drawing_effect;
if (surface->get_flipx()) effect = HORIZONTAL_FLIP;
DrawingEffect effect = request.drawing_effect;
if (surface->get_flipx()) effect = HORIZONTAL_FLIP;
- SDL_Surface *transform = sdltexture->get_transform(
Color(1.0, 1.0, 1.0)
, effect);
+ SDL_Surface *transform = sdltexture->get_transform(
request.color
, effect);
// get and check SDL_Surface
if (transform == 0) {
// get and check SDL_Surface
if (transform == 0) {