Message ID | 20121212194712.7626.89706.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/canvas-x11-egl.cpp' --- src/canvas-x11-egl.cpp 2012-11-13 16:56:32 +0000 +++ src/canvas-x11-egl.cpp 2012-12-12 19:45:49 +0000 @@ -34,8 +34,7 @@ bool CanvasX11EGL::init_gl_winsys() { - egl_.init_display(reinterpret_cast<EGLNativeDisplayType>(xdpy_), - visual_config_); + egl_.init_display(xdpy_, visual_config_); return true; } @@ -68,7 +67,7 @@ bool CanvasX11EGL::make_current() { - egl_.init_surface(reinterpret_cast<EGLNativeWindowType>(xwin_)); + egl_.init_surface(xwin_); if (!egl_.valid()) { Log::error("CanvasX11EGL: Invalid EGL state\n"); return false;