/* FIXME FIXME FIXME
authorSam Lantinga <slouken@libsdl.org>
Mon, 22 Dec 2008 04:58:35 +0000
changeset 2906c4150600b3ae
parent 2905 d214e791c77c
child 2907 5f89d3751ce7
/* FIXME FIXME FIXME
* Window creation fails in the colormap code on DirectColor visuals:
* XA_RGB_BEST_MAP not found and could not be created
* I'm disabling this for now until Bob can look at it. We don't need
* it until we implement the gamma fading using DirectColor RGB ramps
*/
TODO
src/video/x11/SDL_x11modes.c
     1.1 --- a/TODO	Mon Dec 22 04:52:43 2008 +0000
     1.2 +++ b/TODO	Mon Dec 22 04:58:35 2008 +0000
     1.3 @@ -5,7 +5,8 @@
     1.4     - in progress, software support is done, Ryan is working on OpenGL shaders
     1.5   * Implement desktop video mode change notification?
     1.6   * Implement icon support (with translucency?)
     1.7 - * Add draw blend mode and line drawing support for software renderer and win32
     1.8 + * Add draw blend mode and line drawing support for win32
     1.9 + * Have Bob look at why DirectColor visuals fail with XA_RGB_BEST_MAP error
    1.10   * Verify mouse grab support
    1.11   * Properly handle mouse grab with Vista DPI scaling
    1.12   * Make sure the mouse is where it's supposed to be when un-grabbed
     2.1 --- a/src/video/x11/SDL_x11modes.c	Mon Dec 22 04:52:43 2008 +0000
     2.2 +++ b/src/video/x11/SDL_x11modes.c	Mon Dec 22 04:58:35 2008 +0000
     2.3 @@ -32,7 +32,13 @@
     2.4  get_visualinfo(Display * display, int screen, XVisualInfo * vinfo)
     2.5  {
     2.6      const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID");
     2.7 -    int use_directcolor = 1;
     2.8 +    /* FIXME FIXME FIXME
     2.9 +     * Window creation fails in the colormap code on DirectColor visuals:
    2.10 +     *      XA_RGB_BEST_MAP not found and could not be created
    2.11 +     * I'm disabling this for now until Bob can look at it.  We don't need
    2.12 +     * it until we implement the gamma fading using DirectColor RGB ramps
    2.13 +     */
    2.14 +    int use_directcolor = 0;
    2.15      int depth;
    2.16  
    2.17      /* Look for an exact visual, if requested */