loader: remove clamp_swap_interval()
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 31 Jul 2017 16:47:35 +0000 (17:47 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 1 Aug 2017 16:36:57 +0000 (17:36 +0100)
commit97eadb07e7deeb62175da972bfa7a1645798d0ba
treefcf7320f5606fc025005397a4897ae5a766e9d23
parent2714a8f3e95139d2c473f99e913562929ae3f5d7
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 <eric.engestrom@imgtec.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/egl/drivers/dri2/platform_x11_dri3.c
src/glx/dri3_glx.c
src/loader/loader_dri3_helper.c
src/loader/loader_dri3_helper.h