[cogl] fix namespace for cogl_context_egl_get_egl_context



commit c3b91da4146e87e5e5dfe8f94876f63e28fa93e1
Author: Robert Bragg <robert linux intel com>
Date:   Fri Jul 1 01:48:55 2011 +0100

    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 <neil linux intel com>

 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 35b9c85..757bbcd 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 57fc9f6..1b51ffc 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]