mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
cogl: Remove unused cogl_egl_context_get_egl_context
https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
This commit is contained in:
parent
b294e62aed
commit
3e5960b5a2
@ -79,26 +79,6 @@ G_BEGIN_DECLS
|
||||
EGLDisplay
|
||||
cogl_egl_context_get_egl_display (CoglContext *context);
|
||||
|
||||
/**
|
||||
* cogl_egl_context_get_egl_context:
|
||||
* @context: A #CoglContext pointer
|
||||
*
|
||||
* If you have done a runtime check to determine that Cogl is using
|
||||
* EGL internally then this API can be used to retrieve the EGLContext
|
||||
* handle that was setup internally. The result is undefined if Cogl
|
||||
* is not using EGL.
|
||||
*
|
||||
* Note: The current window system backend can be checked using
|
||||
* cogl_renderer_get_winsys_id().
|
||||
*
|
||||
* Return value: The internally setup EGLDisplay handle.
|
||||
* Since: 1.18
|
||||
* Stability: unstable
|
||||
*/
|
||||
EGLContext
|
||||
cogl_egl_context_get_egl_context (CoglContext *context);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
/* The gobject introspection scanner seems to parse public headers in
|
||||
|
@ -947,11 +947,3 @@ cogl_egl_context_get_egl_display (CoglContext *context)
|
||||
|
||||
return egl_renderer->edpy;
|
||||
}
|
||||
|
||||
EGLContext
|
||||
cogl_egl_context_get_egl_context (CoglContext *context)
|
||||
{
|
||||
CoglDisplayEGL *egl_display = context->display->winsys;
|
||||
|
||||
return egl_display->egl_context;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user