]> git.localhorst.tv Git - l2e.git/blob - Desaturate.h
45dff7c19551d96949e4475c044ca53a82bfcfbc
[l2e.git] / Desaturate.h
1 #ifndef SDL_DESATURATE_H_
2 #define SDL_DESATURATE_H_
3
4 #include <SDL.h>
5
6 namespace sdl {
7
8 /// Copy src to dest, desaturated by amount/255.
9 void Desaturate(
10                 SDL_Surface *src,
11                 SDL_Surface *dest,
12                 Uint8 amount);
13
14 }
15
16 #endif