wlserver: Add feature bit for pixel filter
This commit is contained in:
parent
766f9b459c
commit
7f067de652
2 changed files with 2 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue