mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 01:35:39 -05:00
Fixed bug 1671 - add cast to fix build with strict GCC settings
Pavol Rusnak 2012-12-21 16:08:39 PST I suggest the following patch to fix build with strict GCC settings
This commit is contained in:
@@ -321,7 +321,7 @@ X11_GLES_CreateContext(_THIS, SDL_Window * window)
|
||||
|
||||
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
|
||||
Display *display = data->videodata->display;
|
||||
SDL_GLContext context = 1;
|
||||
SDL_GLContext context = (SDL_GLContext)1;
|
||||
|
||||
XSync(display, False);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user