annotate include/SDL_name.h @ 4578:cb338fa6535c

Xrender uses 16 bit color per channel. Fixed the color handling in X11_RenderFillRects to match this. Xrender just works now for filling rectangles :D .
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Mon, 31 May 2010 15:09:36 +0530
parents d2d48e10f370
children
rev   line source
293
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 #ifndef _SDLname_h_
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 #define _SDLname_h_
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 #if defined(__STDC__) || defined(__cplusplus)
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 #define NeedFunctionPrototypes 1
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 #endif
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 #define SDL_NAME(X) SDL_##X
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 #endif /* _SDLname_h_ */