SHA256
1
0
forked from pool/SDL2
SDL2/SDL2-2.0-voidptr.patch

14 lines
475 B
Diff

Index: src/video/x11/SDL_x11opengles.c
===================================================================
--- src/video/x11/SDL_x11opengles.c.orig
+++ src/video/x11/SDL_x11opengles.c
@@ -321,7 +321,7 @@ X11_GLES_CreateContext(_THIS, SDL_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);