mirror of
https://github.com/yawut/SDL.git
synced 2026-08-23 01:05:09 -05:00
Fixed compiler warning
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user