diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-01-13 14:44:26 -0800 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-01-13 14:44:26 -0800 |
| commit | fa984e505c6bf316b21e0c644c0aa687014662b8 (patch) | |
| tree | ee06a6abdbb011ddfc2cdf8225dba68e351188a3 /src/egl.cpp | |
| parent | 71795c8f5483c8c6e06fafc64236d37fc9ac73ee (diff) | |
Fix compilation error on PC due to (void*) cast in EGL call
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 b0581db..8c97074 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, (void*)state->window, NULL); + state->egl_surface = eglCreateWindowSurface (state->egl_display, config, state->window, NULL); if (state->egl_surface == EGL_NO_SURFACE) { warnx ("Cannot create EGL window surface\n"); return false; |