diff options
Diffstat (limited to 'src/common/backend.h')
| -rw-r--r-- | src/common/backend.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/backend.h b/src/common/backend.h index 37fa167..17d781e 100644 --- a/src/common/backend.h +++ b/src/common/backend.h @@ -22,7 +22,7 @@ struct yasl_surface { void *native_handle; struct yasl_vector2i size; uint32_t scale_120; - uint32_t state; + uint32_t state; /* Authoritative YASL_STATE_* bitmask, maintained by the backend. */ uint32_t bg_color; struct yasl_window_cbs callbacks; void *ud; @@ -72,7 +72,6 @@ struct yasl_backend_ops { bool (*surface_present)(struct yasl_surface *s, const struct yasl_framebuffer *fb, const struct yasl_damage_list *damage); bool (*surface_input_poll)(struct yasl_surface *s, struct yasl_input_event *ev); struct yasl_geometry (*surface_geometry)(const struct yasl_surface *s); - uint32_t (*surface_state)(const struct yasl_surface *s); struct yasl_timing (*surface_timing)(const struct yasl_surface *s); uint64_t (*surface_frame_time_ns)(struct yasl_surface *s, uint64_t now); void (*surface_set_cursor)(struct yasl_surface *s, enum yasl_cursor cursor); |
