cursor-renderer: Remove unneeded NULL check
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1391
This commit is contained in:
parent
3abbfef66e
commit
b319add04b
@ -132,10 +132,6 @@ update_stage_overlay (MetaCursorRenderer *renderer,
|
|||||||
CoglTexture *texture;
|
CoglTexture *texture;
|
||||||
graphene_rect_t rect = GRAPHENE_RECT_INIT_ZERO;
|
graphene_rect_t rect = GRAPHENE_RECT_INIT_ZERO;
|
||||||
|
|
||||||
/* During early initialization, we can have no stage */
|
|
||||||
if (!stage)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (cursor_sprite)
|
if (cursor_sprite)
|
||||||
{
|
{
|
||||||
rect = meta_cursor_renderer_calculate_rect (renderer, cursor_sprite);
|
rect = meta_cursor_renderer_calculate_rect (renderer, cursor_sprite);
|
||||||
|
Loading…
Reference in New Issue
Block a user