Fixed compiler warning
This commit is contained in:
parent
ef598b2e7c
commit
57180a1c7e
1 changed files with 2 additions and 2 deletions
|
@ -289,9 +289,9 @@ X11_CreateWindow(_THIS, SDL_Window * window)
|
|||
Sint32 r, g, b;
|
||||
|
||||
/* Is the colormap we need already registered in SDL? */
|
||||
if (colormap =
|
||||
if ((colormap =
|
||||
X11_LookupColormap(data->display,
|
||||
displaydata->screen, visual->visualid)) {
|
||||
displaydata->screen, visual->visualid))) {
|
||||
xattr.colormap = colormap;
|
||||
/* printf("found existing colormap\n"); */
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue