egl: deduplicate swap interval clamping logic
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 31 Jul 2017 13:49:31 +0000 (14:49 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 1 Aug 2017 16:36:57 +0000 (17:36 +0100)
commit2714a8f3e95139d2c473f99e913562929ae3f5d7
tree7dafe8237011053b0d1c795e0d6a8657be9c16d8
parent54826331b31d4cdcb3a7e444caf97b75c3364b54
egl: deduplicate swap interval clamping logic

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_wayland.c
src/egl/drivers/dri2/platform_x11.c
src/egl/main/eglapi.c
src/egl/main/eglsurface.c