Commit 20c1d4a8 authored by Austin Yuan's avatar Austin Yuan

remove vaDisplayIsValid from libva-glx

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@gmail.com>
parent 5eb7b516
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment