steamcompmgr: Fix GAMESCOPE_DEBUG_HDR_HEATMAP

This commit is contained in:
Joshua Ashton 2023-01-06 11:42:53 +00:00
parent 45c9ffd088
commit d2c14e78b7

View file

@ -4461,7 +4461,7 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev)
g_uCompositeDebug &= ~CompositeDebugFlag::Heatmap_MSWCG;
if (heatmap != 0)
g_uCompositeDebug |= CompositeDebugFlag::Heatmap;
if (heatmap == 1)
if (heatmap == 2)
g_uCompositeDebug |= CompositeDebugFlag::Heatmap_MSWCG;
hasRepaint = true;
}