diff options
author | Austin Yuan <shengquan.yuan@gmail.com> | 2010-05-20 13:55:37 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2010-05-20 13:55:37 +0800 |
commit | 20c1d4a825e86e67ecbb8f79a7993379c1e1cc8e (patch) | |
tree | 36b9a4208c635bb3e80dc1bf599e597e68f51136 | |
parent | 5eb7b51626c1656fe3c968c53b6828ac94dbec3a (diff) | |
download | libva-20c1d4a825e86e67ecbb8f79a7993379c1e1cc8e.tar.gz |
remove vaDisplayIsValid from libva-glx
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
-rw-r--r-- | va/glx/va_glx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/va/glx/va_glx.c b/va/glx/va_glx.c index 27145ce..1812ef5 100644 --- a/va/glx/va_glx.c +++ b/va/glx/va_glx.c @@ -47,15 +47,6 @@ status = vtable->va##func##GLX args; \ } while (0) -// Check VADisplay is valid -static inline int vaDisplayIsValid(VADisplay dpy) -{ - VADisplayContextP pDisplayContext = (VADisplayContextP)dpy; - - return (pDisplayContext && - pDisplayContext->vaIsValid && - pDisplayContext->vaIsValid(pDisplayContext)); -} // Destroy VA/GLX display context static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext) |