gl-renderer: remove gl_renderer_display

Nothing uses this.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 5 years ago committed by Pekka Paalanen
parent 192ce0ae0b
commit c504e83b72
  1. 7
      libweston/renderer-gl/gl-renderer.c
  2. 2
      libweston/renderer-gl/gl-renderer.h

@ -3881,12 +3881,6 @@ fail:
return -1;
}
static EGLDisplay
gl_renderer_display(struct weston_compositor *ec)
{
return get_renderer(ec)->egl_display;
}
static int
compile_shaders(struct weston_compositor *ec)
{
@ -4125,7 +4119,6 @@ WL_EXPORT struct gl_renderer_interface gl_renderer_interface = {
.alpha_attribs = gl_renderer_alpha_attribs,
.display_create = gl_renderer_display_create,
.display = gl_renderer_display,
.output_window_create = gl_renderer_output_window_create,
.output_destroy = gl_renderer_output_destroy,
.output_surface = gl_renderer_output_surface,

@ -67,8 +67,6 @@ struct gl_renderer_interface {
const EGLint *visual_id,
const int n_ids);
EGLDisplay (*display)(struct weston_compositor *ec);
int (*output_window_create)(struct weston_output *output,
EGLNativeWindowType window_for_legacy,
void *window_for_platform,

Loading…
Cancel
Save