egl: Rework eglSwapInterval.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 15 Oct 2009 03:08:48 +0000 (11:08 +0800)
committerBrian Paul <brianp@vmware.com>
Thu, 15 Oct 2009 18:54:00 +0000 (12:54 -0600)
commit57da499d7ba074128e8c97b8076805e403a2b9c4
treea26240bf9db31a1367da6d2e08583a47b02d27d4
parentbbfd0e26151bef567c152c8018ecc15f04c70914
egl: Rework eglSwapInterval.

This adds error checking to eglSwapInterval and clamps the swap
interval.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/egl/main/eglapi.c
src/egl/main/eglapi.h
src/egl/main/eglsurface.c
src/egl/main/eglsurface.h