diff options
Diffstat (limited to 'src/egl.cpp')
| -rw-r--r-- | src/egl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl.cpp b/src/egl.cpp index 8c97074..b0581db 100644 --- a/src/egl.cpp +++ b/src/egl.cpp @@ -75,7 +75,7 @@ createEGLContextAndWindow(egl_state_t *state, int width, int height) return false; } - state->egl_surface = eglCreateWindowSurface (state->egl_display, config, state->window, NULL); + state->egl_surface = eglCreateWindowSurface (state->egl_display, config, (void*)state->window, NULL); if (state->egl_surface == EGL_NO_SURFACE) { warnx ("Cannot create EGL window surface\n"); return false; |