summaryrefslogtreecommitdiff
path: root/dummy_drv_video/dummy_drv_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'dummy_drv_video/dummy_drv_video.c')
-rw-r--r--dummy_drv_video/dummy_drv_video.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/dummy_drv_video/dummy_drv_video.c b/dummy_drv_video/dummy_drv_video.c
index ed72824..90eb9c6 100644
--- a/dummy_drv_video/dummy_drv_video.c
+++ b/dummy_drv_video/dummy_drv_video.c
@@ -1040,7 +1040,7 @@ VAStatus dummy_QuerySurfaceStatus(
VAStatus dummy_PutSurface(
VADriverContextP ctx,
VASurfaceID surface,
- Drawable draw, /* X Drawable */
+ void *draw, /* X Drawable */
short srcx,
short srcy,
unsigned short srcw,
@@ -1055,6 +1055,10 @@ VAStatus dummy_PutSurface(
)
{
/* TODO */
+ Drawable drawable = (Drawable)draw;
+
+ (void)drawable;
+
return VA_STATUS_ERROR_UNKNOWN;
}