summaryrefslogtreecommitdiff
path: root/va/x11/va_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'va/x11/va_x11.c')
-rw-r--r--va/x11/va_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c
index 947b5b1..e44dfa7 100644
--- a/va/x11/va_x11.c
+++ b/va/x11/va_x11.c
@@ -107,12 +107,12 @@ static VAStatus va_NVCTRL_GetDriverName (
int direct_capable, driver_major, driver_minor, driver_patch;
Bool result;
- result = VA_NVCTRLQueryDirectRenderingCapable((Display *)ctx->native_dpy, ctx->x11_screen,
+ result = VA_NVCTRLQueryDirectRenderingCapable(ctx->native_dpy, ctx->x11_screen,
&direct_capable);
if (!result || !direct_capable)
return VA_STATUS_ERROR_UNKNOWN;
- result = VA_NVCTRLGetClientDriverName((Display *)ctx->native_dpy, ctx->x11_screen,
+ result = VA_NVCTRLGetClientDriverName(ctx->native_dpy, ctx->x11_screen,
&driver_major, &driver_minor,
&driver_patch, driver_name);
if (!result)