summaryrefslogtreecommitdiff
path: root/i965_drv_video
diff options
context:
space:
mode:
Diffstat (limited to 'i965_drv_video')
-rw-r--r--i965_drv_video/i965_drv_video.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/i965_drv_video/i965_drv_video.c b/i965_drv_video/i965_drv_video.c
index 5a50bf1..caf7f62 100644
--- a/i965_drv_video/i965_drv_video.c
+++ b/i965_drv_video/i965_drv_video.c
@@ -995,19 +995,13 @@ i965_EndPicture(VADriverContextP ctx, VAContextID context)
VAStatus
i965_SyncSurface(VADriverContextP ctx,
- VAContextID context,
VASurfaceID render_target)
{
struct i965_driver_data *i965 = i965_driver_data(ctx);
- struct object_context *obj_context = CONTEXT(context);
struct object_surface *obj_surface = SURFACE(render_target);
- assert(obj_context);
assert(obj_surface);
- /* Assume that this shouldn't be called before vaEndPicture() */
- assert(obj_context->decode_state.current_render_target != render_target);
-
return VA_STATUS_SUCCESS;
}