static PFNEGLGETPLATFORMDISPLAYEXTPROC get_platform_display = NULL;
if (!get_platform_display) {
- get_platform_display = weston_platform_get_egl_proc_address(
- "eglGetPlatformDisplayEXT");
+ get_platform_display = (PFNEGLGETPLATFORMDISPLAYEXTPROC)
+ weston_platform_get_egl_proc_address(
+ "eglGetPlatformDisplayEXT");
}
if (get_platform_display)
create_platform_window = NULL;
if (!create_platform_window) {
- create_platform_window = weston_platform_get_egl_proc_address(
- "eglCreatePlatformWindowSurfaceEXT");
+ create_platform_window = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)
+ weston_platform_get_egl_proc_address(
+ "eglCreatePlatformWindowSurfaceEXT");
}
if (create_platform_window)