Commit b6d3eab4 authored by Bob Pendleton's avatar Bob Pendleton

Oops, meant PsuedoColor not TrueColor

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402569
parent 87f2e5ee
...@@ -23,11 +23,10 @@ ...@@ -23,11 +23,10 @@
#include "../SDL_sysvideo.h" #include "../SDL_sysvideo.h"
#include "SDL_x11video.h" #include "SDL_x11video.h"
int int
X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp) X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp)
{ {
return (-1); return -1;
} }
int int
......
...@@ -181,7 +181,7 @@ X11_CreateWindow(_THIS, SDL_Window * window) ...@@ -181,7 +181,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
} }
xattr.background_pixel = 0; xattr.background_pixel = 0;
xattr.border_pixel = 0; xattr.border_pixel = 0;
if (visual->class == DirectColor || visual->class == TrueColor) { if (visual->class == DirectColor || visual->class == PseudoColor) {
int nmaps; int nmaps;
XStandardColormap *stdmaps; XStandardColormap *stdmaps;
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment