Mercurial > sdl-ios-xcode
diff test/testwm.c @ 2185:2032348afed1
This code adds support for DirectColor visuals to SDL 1.3. The support uses part of the Xmu library. To ensure that the library is
available and to keep people form having to install yet another library I have added the essential parts of Xmu in
src/video/extensions/XmuStdCmap and an include file in src/video/extensions. The support makes use of standard X11 mechanisms to
create color maps and make sure that an application uses the same color map for each window/visual combination. This should make it
possible for gamma support to be implemented based on a single color map per application.
Hurm... it looks like "make indent" modified a few extra files. Those are getting committed too.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Thu, 12 Jul 2007 20:00:50 +0000 |
parents | 8b76cc268771 |
children | 6d91cff0ec79 |
line wrap: on
line diff
--- a/test/testwm.c Thu Jul 12 08:07:30 2007 +0000 +++ b/test/testwm.c Thu Jul 12 20:00:50 2007 +0000 @@ -175,7 +175,7 @@ SDL_PushEvent(&event); } -static int (SDLCALL *old_filterfunc) (void *, SDL_Event *); +static int (SDLCALL * old_filterfunc) (void *, SDL_Event *); static void *old_filterdata; int SDLCALL