eglx: Rename EGLNative{Window,Display}Type back to Native{Window,Display}Type

Commit e2a990d renamed these types to new names from EGL 1.3. However
it still works to use the old names under EGL 1.3 so let's just use
those to keep compatibility.
This commit is contained in:
Neil Roberts 2010-05-18 17:25:25 +01:00
parent 4b239e1fe8
commit 36903dfdcc
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ clutter_backend_egl_post_parse (ClutterBackend *backend,
EGLBoolean status;
backend_egl->edpy =
eglGetDisplay ((EGLNativeDisplayType) backend_x11->xdpy);
eglGetDisplay ((NativeDisplayType) backend_x11->xdpy);
status = eglInitialize (backend_egl->edpy,
&backend_egl->egl_version_major,
@ -185,7 +185,7 @@ retry:
backend_egl->dummy_surface =
eglCreateWindowSurface (edpy,
backend_egl->egl_config,
(EGLNativeWindowType) backend_egl->dummy_xwin,
(NativeWindowType) backend_egl->dummy_xwin,
NULL);
if (backend_egl->dummy_surface == EGL_NO_SURFACE)

View File

@ -140,7 +140,7 @@ clutter_stage_egl_realize (ClutterStageWindow *stage_window)
stage_egl->egl_surface =
eglCreateWindowSurface (edpy,
backend_egl->egl_config,
(EGLNativeWindowType) stage_x11->xwin,
(NativeWindowType) stage_x11->xwin,
NULL);
}