steamcompmgr: Remove heatmap hard flag when GAMESCOPE_DEBUG_HDR_HEATMAP is set
This commit is contained in:
parent
22618ea084
commit
77d943294f
1 changed files with 1 additions and 0 deletions
|
@ -5280,6 +5280,7 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev)
|
||||||
uint32_t heatmap = get_prop( ctx, ctx->root, ctx->atoms.gamescopeDebugHDRHeatmap, 0 );
|
uint32_t heatmap = get_prop( ctx, ctx->root, ctx->atoms.gamescopeDebugHDRHeatmap, 0 );
|
||||||
g_uCompositeDebug &= ~CompositeDebugFlag::Heatmap;
|
g_uCompositeDebug &= ~CompositeDebugFlag::Heatmap;
|
||||||
g_uCompositeDebug &= ~CompositeDebugFlag::Heatmap_MSWCG;
|
g_uCompositeDebug &= ~CompositeDebugFlag::Heatmap_MSWCG;
|
||||||
|
g_uCompositeDebug &= ~CompositeDebugFlag::Heatmap_Hard;
|
||||||
if (heatmap != 0)
|
if (heatmap != 0)
|
||||||
g_uCompositeDebug |= CompositeDebugFlag::Heatmap;
|
g_uCompositeDebug |= CompositeDebugFlag::Heatmap;
|
||||||
if (heatmap == 2)
|
if (heatmap == 2)
|
||||||
|
|
Loading…
Reference in a new issue