From 36903dfdcc0c549972a95056b6d7e417d207ca24 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 18 May 2010 17:25:25 +0100 Subject: [PATCH] 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. --- clutter/eglx/clutter-backend-egl.c | 4 ++-- clutter/eglx/clutter-stage-egl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clutter/eglx/clutter-backend-egl.c b/clutter/eglx/clutter-backend-egl.c index 05c6e2661..216f31298 100644 --- a/clutter/eglx/clutter-backend-egl.c +++ b/clutter/eglx/clutter-backend-egl.c @@ -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) diff --git a/clutter/eglx/clutter-stage-egl.c b/clutter/eglx/clutter-stage-egl.c index 667e6bec5..ca20fc3fa 100644 --- a/clutter/eglx/clutter-stage-egl.c +++ b/clutter/eglx/clutter-stage-egl.c @@ -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); }