diff options
Diffstat (limited to 'src/loader')
-rw-r--r-- | src/loader/loader_dri3_helper.c | 1 | ||||
-rw-r--r-- | src/loader/loader_dri3_helper.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c index 1c93e7a96d3..b3c36e23ae9 100644 --- a/src/loader/loader_dri3_helper.c +++ b/src/loader/loader_dri3_helper.c @@ -77,7 +77,6 @@ dri3_update_num_back(struct loader_dri3_drawable *draw) void loader_dri3_set_swap_interval(struct loader_dri3_drawable *draw, int interval) { - interval = draw->vtable->clamp_swap_interval(draw, interval); draw->vtable->set_swap_interval(draw, interval); dri3_update_num_back(draw); } diff --git a/src/loader/loader_dri3_helper.h b/src/loader/loader_dri3_helper.h index a865e463559..628b0f9f09e 100644 --- a/src/loader/loader_dri3_helper.h +++ b/src/loader/loader_dri3_helper.h @@ -98,7 +98,6 @@ struct loader_dri3_drawable; struct loader_dri3_vtable { int (*get_swap_interval)(struct loader_dri3_drawable *); - int (*clamp_swap_interval)(struct loader_dri3_drawable *, int); void (*set_swap_interval)(struct loader_dri3_drawable *, int); void (*set_drawable_size)(struct loader_dri3_drawable *, int, int); bool (*in_current_context)(struct loader_dri3_drawable *); |