Skip to content

Commit

Permalink
wlserver: Add feature bit for pixel filter
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Oct 6, 2023
1 parent 193f7ac commit 49b0e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions protocol/gamescope-control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
1 change: 1 addition & 0 deletions src/wlserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 49b0e40

Please sign in to comment.