Commit 6a1c58a1 authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Austin Yuan

Remove obsolete fields.

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent fb633440
...@@ -407,14 +407,11 @@ struct VADriverVTable ...@@ -407,14 +407,11 @@ struct VADriverVTable
struct VADriverContext struct VADriverContext
{ {
void *old_pNext; /* preserved for binary compatibility */
void *pDriverData; void *pDriverData;
struct VADriverVTable vtable; struct VADriverVTable vtable;
Display *x11_dpy; Display *x11_dpy;
int x11_screen; int x11_screen;
int old_dri2; /* obsolete */
int version_major; int version_major;
int version_minor; int version_minor;
int max_profiles; int max_profiles;
......
...@@ -204,7 +204,6 @@ VADisplay vaGetDisplay ( ...@@ -204,7 +204,6 @@ VADisplay vaGetDisplay (
dri_state = calloc(1, sizeof(*dri_state)); dri_state = calloc(1, sizeof(*dri_state));
if (pDisplayContext && pDriverContext && dri_state) if (pDisplayContext && pDriverContext && dri_state)
{ {
pDriverContext->old_pNext = (void *)(unsigned long)0xdeadbeef;
pDriverContext->x11_dpy = native_dpy; pDriverContext->x11_dpy = native_dpy;
pDisplayContext->pNext = pDisplayContexts; pDisplayContext->pNext = pDisplayContexts;
pDisplayContext->pDriverContext = pDriverContext; pDisplayContext->pDriverContext = pDriverContext;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment