Oops, meant PsuedoColor not TrueColor
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402569
This commit is contained in:
parent
87f2e5ee92
commit
b6d3eab4b2
2 changed files with 2 additions and 3 deletions
|
@ -23,11 +23,10 @@
|
|||
#include "../SDL_sysvideo.h"
|
||||
#include "SDL_x11video.h"
|
||||
|
||||
|
||||
int
|
||||
X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp)
|
||||
{
|
||||
return (-1);
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -181,7 +181,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
|
|||
}
|
||||
xattr.background_pixel = 0;
|
||||
xattr.border_pixel = 0;
|
||||
if (visual->class == DirectColor || visual->class == TrueColor) {
|
||||
if (visual->class == DirectColor || visual->class == PseudoColor) {
|
||||
int nmaps;
|
||||
XStandardColormap *stdmaps;
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue