OSDN Git Service

Remove obsolete fields.
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Wed, 8 Jul 2009 07:56:26 +0000 (07:56 +0000)
committerAustin Yuan <shengquan.yuan@intel.com>
Wed, 8 Jul 2009 09:42:05 +0000 (17:42 +0800)
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
src/va_backend.h
src/x11/va_x11.c

index c49376a..619dd99 100644 (file)
@@ -407,14 +407,11 @@ struct VADriverVTable
 
 struct VADriverContext
 {
-    void *old_pNext;                   /* preserved for binary compatibility */
-
     void *pDriverData;
     struct VADriverVTable vtable;
 
     Display *x11_dpy;
     int x11_screen;
-    int old_dri2; /* obsolete */
     int version_major;
     int version_minor;
     int max_profiles;
index 46911fc..a196d3d 100644 (file)
@@ -204,7 +204,6 @@ VADisplay vaGetDisplay (
       dri_state       = calloc(1, sizeof(*dri_state));
       if (pDisplayContext && pDriverContext && dri_state)
       {
-         pDriverContext->old_pNext        = (void *)(unsigned long)0xdeadbeef;
          pDriverContext->x11_dpy          = native_dpy;
          pDisplayContext->pNext           = pDisplayContexts;
          pDisplayContext->pDriverContext  = pDriverContext;