mirror of
https://github.com/brl/mutter.git
synced 2025-01-10 11:42:49 +00:00
screen-cast-stream: Remove stale comments and an unused variable
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3592>
This commit is contained in:
parent
839158ffd5
commit
a816470996
@ -194,7 +194,6 @@ meta_screen_cast_query_modifiers (MetaScreenCast *screen_cast,
|
|||||||
g_autofree EGLuint64KHR *all_modifiers = NULL;
|
g_autofree EGLuint64KHR *all_modifiers = NULL;
|
||||||
g_autofree EGLBoolean *external_only = NULL;
|
g_autofree EGLBoolean *external_only = NULL;
|
||||||
g_autoptr (GError) error = NULL;
|
g_autoptr (GError) error = NULL;
|
||||||
g_autoptr (CoglDmaBufHandle) dmabuf_handle = NULL;
|
|
||||||
GArray *modifiers = NULL;
|
GArray *modifiers = NULL;
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
const MetaFormatInfo *format_info;
|
const MetaFormatInfo *format_info;
|
||||||
@ -208,7 +207,6 @@ meta_screen_cast_query_modifiers (MetaScreenCast *screen_cast,
|
|||||||
g_assert (format_info);
|
g_assert (format_info);
|
||||||
|
|
||||||
// TODO: query cogl_renderer for modifiers
|
// TODO: query cogl_renderer for modifiers
|
||||||
// BEGIN stub
|
|
||||||
ret = meta_egl_query_dma_buf_modifiers (egl,
|
ret = meta_egl_query_dma_buf_modifiers (egl,
|
||||||
egl_display,
|
egl_display,
|
||||||
format_info->drm_format,
|
format_info->drm_format,
|
||||||
@ -252,7 +250,6 @@ meta_screen_cast_query_modifiers (MetaScreenCast *screen_cast,
|
|||||||
g_array_append_vals (modifiers, &modifier, 1);
|
g_array_append_vals (modifiers, &modifier, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// END stub
|
|
||||||
|
|
||||||
add_implicit_modifier:
|
add_implicit_modifier:
|
||||||
if (!modifiers)
|
if (!modifiers)
|
||||||
|
Loading…
Reference in New Issue
Block a user