mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
compositor: pass version in wlr_compositor_create
This allows wlroots to support newer versions of the interface without breaking the API.
This commit is contained in:
parent
87e7584dd4
commit
0bb574239d
6 changed files with 9 additions and 7 deletions
|
|
@ -327,6 +327,6 @@ void wlr_surface_unlock_cached(struct wlr_surface *surface, uint32_t seq);
|
|||
* objects from client buffers on surface commit.
|
||||
*/
|
||||
struct wlr_compositor *wlr_compositor_create(struct wl_display *display,
|
||||
struct wlr_renderer *renderer);
|
||||
uint32_t version, struct wlr_renderer *renderer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue