Advertisement
Guest User

SW_SetTextureColorMod

a guest
Jul 26th, 2014
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. SDL_render_sw.c
  2.  
  3. static int
  4. SW_SetTextureColorMod(SDL_Renderer * renderer, SDL_Texture * texture)
  5. {
  6.     SDL_Surface *surface = (SDL_Surface *) texture->driverdata;
  7.     return SDL_SetSurfaceColorMod(surface, texture->r, texture->g,
  8.                                   texture->b);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement