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:06:30 +0800 |
commit | 7eb72b2fc2b3ff069b3e4cc4ea5e104e91f23322 (patch) | |
tree | e30670b1fb67cceaf7ebbc71df4e72ebe9dfcef1 | |
parent | 79024338206b9720d1f1f3220a23744e6effc06f (diff) | |
download | libva-7eb72b2fc2b3ff069b3e4cc4ea5e104e91f23322.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 3eb6bad..9de904e 100644 --- a/src/x11/va_x11.c +++ b/src/x11/va_x11.c @@ -237,7 +237,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; |