mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
cogl: Remove unused cogl_glx_context_get_glx_context
https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
This commit is contained in:
parent
c63f54b7a7
commit
b294e62aed
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user