Commit fcab585d authored by Steve Lhomme's avatar Steve Lhomme
Browse files

d3d11_surface: make sure the converter doesn't expect draining calls

parent 557e5055
......@@ -513,6 +513,9 @@ static filter_t *CreateCPUtoGPUFilter( filter_t *p_this, const es_format_t *p_fm
return NULL;
}
assert( p_filter->ops != NULL );
// we convert into a staging output, we shouldn't have multiple outputs
// we are a converter so we are not expected to output multiple pictures
assert( p_filter->ops->drain_video == NULL);
return p_filter;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment