This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed compiler warning
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/video/x11/SDL_x11window.c
|
@@ -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 { |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.