summaryrefslogtreecommitdiff
path: root/src/x11/va_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/va_x11.c')
-rw-r--r--src/x11/va_x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x11/va_x11.c b/src/x11/va_x11.c
index 5908fbe..42adb9e 100644
--- a/src/x11/va_x11.c
+++ b/src/x11/va_x11.c
@@ -189,6 +189,8 @@ VADisplay vaGetDisplay (
dri_state = calloc(1, sizeof(*dri_state));
if (pDisplayContext && pDriverContext && dri_state)
{
+ pDisplayContext->vadpy_magic = 0x789abcde;
+
pDriverContext->x11_dpy = native_dpy;
pDisplayContext->pNext = pDisplayContexts;
pDisplayContext->pDriverContext = pDriverContext;