wlserver: Add feature bit for pixel filter

This commit is contained in:
Joshua Ashton 2023-10-06 23:39:36 +01:00 committed by Joshie
parent 766f9b459c
commit 7f067de652
2 changed files with 2 additions and 0 deletions

View file

@ -39,6 +39,7 @@
<entry name="done" value="0" summary="sent at the end of the feature list"/>
<entry name="reshade_shaders" value="1"/>
<entry name="display_info" value="2"/>
<entry name="pixel_filter" value="3"/>
</enum>
<event name="feature_support">

View file

@ -894,6 +894,7 @@ static void gamescope_control_bind( struct wl_client *client, void *data, uint32
// Send feature support
gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_RESHADE_SHADERS, 1, 0 );
gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_DISPLAY_INFO, 1, 0 );
gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_PIXEL_FILTER, 1, 0 );
gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_DONE, 0, 0 );
wlserver.gamescope_controls.push_back(resource);