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, 1 insertions, 1 deletions
diff --git a/src/x11/va_x11.c b/src/x11/va_x11.c
index 42adb9e..3e85ba3 100644
--- a/src/x11/va_x11.c
+++ b/src/x11/va_x11.c
@@ -189,7 +189,7 @@ VADisplay vaGetDisplay (
dri_state = calloc(1, sizeof(*dri_state));
if (pDisplayContext && pDriverContext && dri_state)
{
- pDisplayContext->vadpy_magic = 0x789abcde;
+ pDisplayContext->vadpy_magic = VA_DISPLAY_MAGIC;
pDriverContext->x11_dpy = native_dpy;
pDisplayContext->pNext = pDisplayContexts;