summaryrefslogtreecommitdiffstatsci
path: root/src/egl.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-01-13 14:44:26 -0800
committerBryce Harrington <b.harrington@samsung.com>2014-01-13 14:44:26 -0800
commitfa984e505c6bf316b21e0c644c0aa687014662b8 (patch)
treeee06a6abdbb011ddfc2cdf8225dba68e351188a3 /src/egl.cpp
parent71795c8f5483c8c6e06fafc64236d37fc9ac73ee (diff)
Fix compilation error on PC due to (void*) cast in EGL call
Diffstat (limited to 'src/egl.cpp')
-rw-r--r--src/egl.cpp2
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;