diff options
author | Chia-I Wu <[email protected]> | 2009-10-15 11:08:48 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-15 12:54:00 -0600 |
commit | 57da499d7ba074128e8c97b8076805e403a2b9c4 (patch) | |
tree | a26240bf9db31a1367da6d2e08583a47b02d27d4 /src/egl/main/eglsurface.h | |
parent | bbfd0e26151bef567c152c8018ecc15f04c70914 (diff) |
egl: Rework eglSwapInterval.
This adds error checking to eglSwapInterval and clamps the swap
interval.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/main/eglsurface.h')
-rw-r--r-- | src/egl/main/eglsurface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglsurface.h b/src/egl/main/eglsurface.h index f6d44b5922e..b75fa9c3686 100644 --- a/src/egl/main/eglsurface.h +++ b/src/egl/main/eglsurface.h @@ -86,7 +86,7 @@ _eglReleaseTexImage(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint extern EGLBoolean -_eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, EGLint interval); +_eglSwapInterval(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf, EGLint interval); #ifdef EGL_VERSION_1_2 |