diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c index 35b9c8582..757bbcdf8 100644 --- a/cogl/cogl-context.c +++ b/cogl/cogl-context.c @@ -500,7 +500,7 @@ _cogl_context_get_default (void) #ifdef COGL_HAS_EGL_SUPPORT EGLDisplay -cogl_context_egl_get_egl_display (CoglContext *context) +cogl_egl_context_get_egl_display (CoglContext *context) { const CoglWinsysVtable *winsys = _cogl_context_get_winsys (context); diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h index 57fc9f689..1b51ffc3c 100644 --- a/cogl/cogl-context.h +++ b/cogl/cogl-context.h @@ -62,9 +62,9 @@ cogl_context_new (CoglDisplay *display, GError **error); #ifdef COGL_HAS_EGL_SUPPORT -#define cogl_context_egl_get_egl_display cogl_context_egl_get_egl_display_EXP +#define cogl_egl_context_get_egl_display cogl_egl_context_get_egl_display_EXP EGLDisplay -cogl_context_egl_get_egl_display (CoglContext *context); +cogl_egl_context_get_egl_display (CoglContext *context); #endif #ifdef COGL_HAS_EGL_PLATFORM_ANDROID_SUPPORT