Skip to content

Commit

Permalink
Do set the color mod on the actual texture.
Browse files Browse the repository at this point in the history
  • Loading branch information
lipk committed Jun 17, 2014
1 parent 561cb5b commit 10af944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdl/texture.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 10af944

Please sign in to comment.