diff --git a/libweston/renderer-gl/gl-renderer.c b/libweston/renderer-gl/gl-renderer.c index d0b5e494..211e79df 100644 --- a/libweston/renderer-gl/gl-renderer.c +++ b/libweston/renderer-gl/gl-renderer.c @@ -3405,12 +3405,6 @@ gl_renderer_output_destroy(struct weston_output *output) free(go); } -static EGLSurface -gl_renderer_output_surface(struct weston_output *output) -{ - return get_output_state(output)->egl_surface; -} - static int gl_renderer_create_fence_fd(struct weston_output *output) { @@ -4121,7 +4115,6 @@ WL_EXPORT struct gl_renderer_interface gl_renderer_interface = { .display_create = gl_renderer_display_create, .output_window_create = gl_renderer_output_window_create, .output_destroy = gl_renderer_output_destroy, - .output_surface = gl_renderer_output_surface, .output_set_border = gl_renderer_output_set_border, .create_fence_fd = gl_renderer_create_fence_fd, .print_egl_error_state = gl_renderer_print_egl_error_state diff --git a/libweston/renderer-gl/gl-renderer.h b/libweston/renderer-gl/gl-renderer.h index 74b045cf..c9ad1512 100644 --- a/libweston/renderer-gl/gl-renderer.h +++ b/libweston/renderer-gl/gl-renderer.h @@ -76,8 +76,6 @@ struct gl_renderer_interface { void (*output_destroy)(struct weston_output *output); - EGLSurface (*output_surface)(struct weston_output *output); - /* Sets the output border. * * The side specifies the side for which we are setting the border.