From 59007e2cfae0166b66ee7ef72ec982e0caec8ccf Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 20 Mar 2014 18:02:11 -0700 Subject: Split cairo and skia setup into separate routines --- src/egl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl.cpp') 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; -- cgit v1.3.1-4-g156e