From c3b91da4146e87e5e5dfe8f94876f63e28fa93e1 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Fri, 1 Jul 2011 01:48:55 +0100 Subject: [PATCH] fix namespace for cogl_context_egl_get_egl_context This renames cogl_context_egl_get_egl_context to cogl_egl_context_get_egl_context to be consistent with other platform specific APIs. Signed-off-by: Neil Roberts --- cogl/cogl-context.c | 2 +- cogl/cogl-context.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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