mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
presentation-time: make version a uint32_t
This is consistent with wlr_xdg_shell_create(), wlr_shm_create(), wlr_layer_shell_create(), etc.
This commit is contained in:
parent
7dd8fdf76c
commit
80f33cd350
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ struct wlr_presentation_event {
|
|||
struct wlr_backend;
|
||||
|
||||
struct wlr_presentation *wlr_presentation_create(struct wl_display *display,
|
||||
struct wlr_backend *backend, int version);
|
||||
struct wlr_backend *backend, uint32_t version);
|
||||
/**
|
||||
* Mark the current surface's buffer as sampled.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
|
|||
}
|
||||
|
||||
struct wlr_presentation *wlr_presentation_create(struct wl_display *display,
|
||||
struct wlr_backend *backend, int version) {
|
||||
struct wlr_backend *backend, uint32_t version) {
|
||||
assert(version <= PRESENTATION_VERSION);
|
||||
|
||||
struct wlr_presentation *presentation = calloc(1, sizeof(*presentation));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue