summaryrefslogtreecommitdiffstatsci
path: root/src/egl.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-03-20 18:02:11 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-03-20 18:02:11 -0700
commit59007e2cfae0166b66ee7ef72ec982e0caec8ccf (patch)
treee74ea6b5982d0df1952c384abff065c4c11fe937 /src/egl.cpp
parent85f168e4a0ae0baa2759587cbba53fbbc252aa71 (diff)
Split cairo and skia setup into separate routines
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..ee34f5f 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, (EGLNativeWindowType)state->window, NULL);
if (state->egl_surface == EGL_NO_SURFACE) {
warnx ("Cannot create EGL window surface\n");
return false;