mirror of
https://github.com/yawut/SDL.git
synced 2026-06-08 17:48:37 -05:00
Oops, meant PsuedoColor not TrueColor
This commit is contained in:
parent
958f927c3d
commit
3d7eee3429
|
|
@ -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…
Reference in New Issue
Block a user