[cogl/wip/rib/master-next: 9/11] fix namespace for cogl_context_egl_get_egl_context



commit 7decfd7a6097ca736c773caea4fafc33f19acda2
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.

 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 bc5fd69..edfaba7 100644
--- a/cogl/cogl-context.c
+++ b/cogl/cogl-context.c
@@ -470,7 +470,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]