diff options
author | Chia-I Wu <[email protected]> | 2010-02-22 21:59:14 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-02-23 22:42:46 +0800 |
commit | 7d1237bc71811e95aec142f41599620f0361fafc (patch) | |
tree | d2a5e6de07818eb48a28a681f90e0d10afecb522 /src/egl/main/eglconfig.h | |
parent | 58a72cd65e352849a5ce7be473fc5a2a7fc32e79 (diff) |
egl: Remove unused _EGL_SKIP_HANDLE_CHECK.
It was added to skip checking EGLDisplay, EGLSurface, and etc. It is
never defined and the spec does not allow the checks to be skipped.
Remove it for good.
Diffstat (limited to 'src/egl/main/eglconfig.h')
-rw-r--r-- | src/egl/main/eglconfig.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/egl/main/eglconfig.h b/src/egl/main/eglconfig.h index 56ec95fe9ad..ced060f7797 100644 --- a/src/egl/main/eglconfig.h +++ b/src/egl/main/eglconfig.h @@ -92,27 +92,10 @@ PUBLIC EGLConfig _eglAddConfig(_EGLDisplay *dpy, _EGLConfig *conf); -#ifndef _EGL_SKIP_HANDLE_CHECK - - extern EGLBoolean _eglCheckConfigHandle(EGLConfig config, _EGLDisplay *dpy); -#else - - -static INLINE EGLBoolean -_eglCheckConfigHandle(EGLConfig config, _EGLDisplay *dpy) -{ - _EGLConfig *conf = (_EGLConfig *) config; - return (dpy && conf && conf->Display == dpy); -} - - -#endif /* _EGL_SKIP_HANDLE_CHECK */ - - /** * Lookup a handle to find the linked config. * Return NULL if the handle has no corresponding linked config. |