mirror of
https://github.com/yawut/SDL.git
synced 2026-09-25 01:45:41 -05:00
Oops, meant PsuedoColor not TrueColor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user