diff --git a/cogl/cogl/cogl-xlib-renderer.c b/cogl/cogl/cogl-xlib-renderer.c index 704aba894..9ee9d6a47 100644 --- a/cogl/cogl/cogl-xlib-renderer.c +++ b/cogl/cogl/cogl-xlib-renderer.c @@ -632,15 +632,3 @@ _cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer, return max_overlapped; } - -XVisualInfo * -cogl_xlib_renderer_get_visual_info (CoglRenderer *renderer) -{ - CoglXlibRenderer *xlib_renderer; - - g_return_val_if_fail (cogl_is_renderer (renderer), NULL); - - xlib_renderer = _cogl_xlib_renderer_get_data (renderer); - - return xlib_renderer->xvisinfo; -} diff --git a/cogl/cogl/cogl-xlib-renderer.h b/cogl/cogl/cogl-xlib-renderer.h index dd495dbc5..7e2727ab7 100644 --- a/cogl/cogl/cogl-xlib-renderer.h +++ b/cogl/cogl/cogl-xlib-renderer.h @@ -151,12 +151,6 @@ cogl_xlib_renderer_set_foreign_display (CoglRenderer *renderer, Display * cogl_xlib_renderer_get_display (CoglRenderer *renderer); -/** - * cogl_xlib_renderer_get_visual_info: (skip) - */ -XVisualInfo * -cogl_xlib_renderer_get_visual_info (CoglRenderer *renderer); - /** * cogl_xlib_renderer_request_reset_on_video_memory_purge: (skip) * @renderer: a #CoglRenderer