summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cogl/cogl-context.c2
-rw-r--r--cogl/cogl-context.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c
index 35b9c858..757bbcdf 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 57fc9f68..1b51ffc3 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