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

Commit

Permalink
Fixed bug 1671 - add cast to fix build with strict GCC settings
Browse files Browse the repository at this point in the history
Pavol Rusnak 2012-12-21 16:08:39 PST

I suggest the following patch to fix build with strict GCC settings
  • Loading branch information
slouken committed Dec 31, 2012
1 parent c2b0888 commit 7418aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11opengles.c
Expand Up @@ -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);

Expand Down

0 comments on commit 7418aed

Please sign in to comment.