From 10af944c1d5dc66eb264c3c41fd6d69403e033c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boldizs=C3=A1r=20Lipka?= Date: Sun, 15 Jun 2014 08:20:29 +0200 Subject: [PATCH] Do set the color mod on the actual texture. --- src/sdl/texture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/texture.cpp b/src/sdl/texture.cpp index 3f8a7a482ce0..d5de197240f6 100644 --- a/src/sdl/texture.cpp +++ b/src/sdl/texture.cpp @@ -348,6 +348,8 @@ void ttexture::set_color_mod(Uint8 r, Uint8 g, Uint8 b) mod_r_ = r; mod_g_ = g; mod_b_ = b; + + SDL_SetTextureColorMod(texture_, r, g, b); } Uint8 ttexture::red_mod() const