Skip to content

Commit

Permalink
drm: Fix deug typo
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Apr 8, 2024
1 parent fdcf292 commit e282eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ gamescope::ConVar<bool> cv_drm_debug_disable_shaper_and_3dlut( "drm_debug_disabl
gamescope::ConVar<bool> cv_drm_debug_disable_degamma_tf( "drm_debug_disable_degamma_tf", false, "Degamma chicken bit. (Forces DEGAMMA_TF to DEFAULT, does not affect other logic)" );
gamescope::ConVar<bool> cv_drm_debug_disable_regamma_tf( "drm_debug_disable_regamma_tf", false, "Regamma chicken bit. (Forces REGAMMA_TF to DEFAULT, does not affect other logic)" );
gamescope::ConVar<bool> cv_drm_debug_disable_output_tf( "drm_debug_disable_output_tf", false, "Force default (identity) output TF, affects other logic. Not a property directly." );
gamescope::ConVar<bool> cv_drm_deug_disable_blend_tf( "drm_deug_disable_blend_tf", false, "Blending chicken bit. (Forces BLEND_TF to DEFAULT, does not affect other logic)" );
gamescope::ConVar<bool> cv_drm_debug_disable_blend_tf( "drm_debug_disable_blend_tf", false, "Blending chicken bit. (Forces BLEND_TF to DEFAULT, does not affect other logic)" );

namespace gamescope
{
Expand Down Expand Up @@ -2386,7 +2386,7 @@ drm_prepare_liftoff( struct drm_t *drm, const struct FrameInfo_t *frameInfo, boo

if ( drm_supports_color_mgmt( drm ) )
{
if (!cv_drm_deug_disable_blend_tf && !bSinglePlane)
if (!cv_drm_debug_disable_blend_tf && !bSinglePlane)
liftoff_layer_set_property( drm->lo_layers[ i ], "VALVE1_PLANE_BLEND_TF", drm->pending.output_tf );
else
liftoff_layer_set_property( drm->lo_layers[ i ], "VALVE1_PLANE_BLEND_TF", DRM_VALVE1_TRANSFER_FUNCTION_DEFAULT );
Expand Down

0 comments on commit e282eea

Please sign in to comment.