diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-07-08 07:56:26 +0000 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2009-07-08 17:42:05 +0800 |
commit | 6a1c58a195140e20375f0e57f512c023e22901ad (patch) | |
tree | dee6c1324744d3b1351f2d3a6956e5a9ca98ce4c | |
parent | fb633440881179f5df31d1c436f1db86b58b0485 (diff) | |
download | libva-6a1c58a195140e20375f0e57f512c023e22901ad.tar.gz |
Remove obsolete fields.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r-- | src/va_backend.h | 3 | ||||
-rw-r--r-- | src/x11/va_x11.c | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/va_backend.h b/src/va_backend.h index c49376a..619dd99 100644 --- a/src/va_backend.h +++ b/src/va_backend.h @@ -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; diff --git a/src/x11/va_x11.c b/src/x11/va_x11.c index 46911fc..a196d3d 100644 --- a/src/x11/va_x11.c +++ b/src/x11/va_x11.c @@ -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; |