mag-fix=scene-helper

removed last_mag, as it wasnt't necessary with the changes
and it was triggering of a warning treated as error
This commit is contained in:
Droc 2024-05-20 05:53:51 -05:00
parent b7bcaa8b02
commit 3cef5fd622

View file

@ -47,15 +47,12 @@ lab_wlr_scene_output_commit(struct wlr_scene_output *scene_output)
struct wlr_output_state *state = &wlr_output->pending;
struct output *output = wlr_output->data;
bool wants_magnification = output_wants_magnification(output);
static bool last_mag = false;
if (!wlr_output->needs_frame && !pixman_region32_not_empty(
&scene_output->damage_ring.current)) {
return false;
}
last_mag = is_magnify_on();
if (!wlr_scene_output_build_state(scene_output, state, NULL)) {
wlr_log(WLR_ERROR, "Failed to build output state for %s",
wlr_output->name);