cogl: Remove unused cogl_glx_context_get_glx_context

https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
This commit is contained in:
Adam Jackson 2019-10-24 16:30:58 -04:00
parent c63f54b7a7
commit b294e62aed
2 changed files with 0 additions and 28 deletions

View File

@ -58,26 +58,6 @@
#include <GL/glx.h>
#include <cogl/cogl-types.h>
G_BEGIN_DECLS
/**
* cogl_glx_context_get_glx_context:
* @context: A #CoglContext pointer
*
* If you have done a runtime check to determine that Cogl is using
* GLX internally then this API can be used to retrieve the GLXContext
* handle that was setup internally. The result is undefined if Cogl
* is not using GLX.
*
* Return value: The internally setup GLXContext handle.
* Since: 1.18
* Stability: unstable
*/
GLXContext
cogl_glx_context_get_glx_context (CoglContext *context);
G_END_DECLS
/* The gobject introspection scanner seems to parse public headers in
* isolation which means we need to be extra careful about how we
* define and undefine __COGL_H_INSIDE__ used to detect when internal

View File

@ -2607,11 +2607,3 @@ _cogl_winsys_glx_get_vtable (void)
{
return &_cogl_winsys_vtable;
}
GLXContext
cogl_glx_context_get_glx_context (CoglContext *context)
{
CoglGLXDisplay *glx_display = context->display->winsys;
return glx_display->glx_context;
}