summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2010-04-13 04:54:11 +0200
committerAustin Yuan <shengquan.yuan@gmail.com>2010-06-04 11:10:02 +0800
commit632443b24034cc9188ccead53e7f8261cf222d65 (patch)
treeb88fef0e8ab585535c0f7ac7c249a2d40027beae /va
parentfe312c52d6ee0361de598d959a604da09fdeb700 (diff)
downloadlibva-632443b24034cc9188ccead53e7f8261cf222d65.tar.gz
VA/GLX cosmetics (indentation, declarations)
Diffstat (limited to 'va')
-rw-r--r--va/glx/va_glx.c2
-rw-r--r--va/va_backend.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/va/glx/va_glx.c b/va/glx/va_glx.c
index 1812ef5..cd1275f 100644
--- a/va/glx/va_glx.c
+++ b/va/glx/va_glx.c
@@ -47,6 +47,8 @@
status = vtable->va##func##GLX args; \
} while (0)
+// Check VADisplay is valid (from libva.so.*)
+int vaDisplayIsValid(VADisplay dpy);
// Destroy VA/GLX display context
static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext)
diff --git a/va/va_backend.h b/va/va_backend.h
index 9029fa6..62ac970 100644
--- a/va/va_backend.h
+++ b/va/va_backend.h
@@ -397,7 +397,7 @@ struct VADriverContext
void *handle; /* dlopen handle */
void *dri_state;
- void *glx; /* opaque for GLX code */
+ void *glx; /* opaque for GLX code */
};
#define VA_DISPLAY_MAGIC 0x56414430 /* VAD0 */