Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Oops, meant PsuedoColor not TrueColor
Browse files Browse the repository at this point in the history
  • Loading branch information
pendletonrc committed Jul 23, 2007
1 parent cb84ee0 commit ec0d6b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/video/x11/SDL_x11gamma.c
Expand Up @@ -23,11 +23,10 @@
#include "../SDL_sysvideo.h"
#include "SDL_x11video.h"


int
X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp)
{
return (-1);
return -1;
}

int
Expand Down
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11window.c
Expand Up @@ -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;
Expand Down

0 comments on commit ec0d6b6

Please sign in to comment.