gl-renderer: remove gl_renderer_display
Nothing uses this. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
192ce0ae0b
commit
c504e83b72
|
@ -3881,12 +3881,6 @@ fail:
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static EGLDisplay
|
|
||||||
gl_renderer_display(struct weston_compositor *ec)
|
|
||||||
{
|
|
||||||
return get_renderer(ec)->egl_display;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
compile_shaders(struct weston_compositor *ec)
|
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,
|
.alpha_attribs = gl_renderer_alpha_attribs,
|
||||||
|
|
||||||
.display_create = gl_renderer_display_create,
|
.display_create = gl_renderer_display_create,
|
||||||
.display = gl_renderer_display,
|
|
||||||
.output_window_create = gl_renderer_output_window_create,
|
.output_window_create = gl_renderer_output_window_create,
|
||||||
.output_destroy = gl_renderer_output_destroy,
|
.output_destroy = gl_renderer_output_destroy,
|
||||||
.output_surface = gl_renderer_output_surface,
|
.output_surface = gl_renderer_output_surface,
|
||||||
|
|
|
@ -67,8 +67,6 @@ struct gl_renderer_interface {
|
||||||
const EGLint *visual_id,
|
const EGLint *visual_id,
|
||||||
const int n_ids);
|
const int n_ids);
|
||||||
|
|
||||||
EGLDisplay (*display)(struct weston_compositor *ec);
|
|
||||||
|
|
||||||
int (*output_window_create)(struct weston_output *output,
|
int (*output_window_create)(struct weston_output *output,
|
||||||
EGLNativeWindowType window_for_legacy,
|
EGLNativeWindowType window_for_legacy,
|
||||||
void *window_for_platform,
|
void *window_for_platform,
|
||||||
|
|
Loading…
Reference in New Issue