aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader/loader_dri3_helper.h
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-07-31 17:47:35 +0100
committerEric Engestrom <[email protected]>2017-08-01 17:36:57 +0100
commit97eadb07e7deeb62175da972bfa7a1645798d0ba (patch)
treefcf7320f5606fc025005397a4897ae5a766e9d23 /src/loader/loader_dri3_helper.h
parent2714a8f3e95139d2c473f99e913562929ae3f5d7 (diff)
loader: remove clamp_swap_interval()
As of last commit, no invalid swap interval can be stored, so there's no need to sanitize the values when reading them anymore. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/loader/loader_dri3_helper.h')
-rw-r--r--src/loader/loader_dri3_helper.h1
1 files changed, 0 insertions, 1 deletions
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 *);