cursor-renderer: Remove unneeded NULL check

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1391
This commit is contained in:
Jonas Ådahl 2020-07-29 11:07:32 +02:00
parent 3abbfef66e
commit b319add04b

View File

@ -132,10 +132,6 @@ update_stage_overlay (MetaCursorRenderer *renderer,
CoglTexture *texture;
graphene_rect_t rect = GRAPHENE_RECT_INIT_ZERO;
/* During early initialization, we can have no stage */
if (!stage)
return;
if (cursor_sprite)
{
rect = meta_cursor_renderer_calculate_rect (renderer, cursor_sprite);