gl-renderer: remove gl_renderer_display

Nothing uses this.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-09-19 13:48:17 +03:00 committed by Pekka Paalanen
parent 192ce0ae0b
commit c504e83b72
2 changed files with 0 additions and 9 deletions

View File

@ -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,

View File

@ -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,