OSDN Git Service

VA/GLX cosmetics (indentation, declarations)
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Tue, 13 Apr 2010 02:54:11 +0000 (04:54 +0200)
committerAustin Yuan <shengquan.yuan@gmail.com>
Fri, 4 Jun 2010 03:10:02 +0000 (11:10 +0800)
va/glx/va_glx.c
va/va_backend.h

index 1812ef5..cd1275f 100644 (file)
@@ -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)
index 9029fa6..62ac970 100644 (file)
@@ -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 */