Commit 5712c322 authored by Thomas Guillem's avatar Thomas Guillem

opengl: vaapi: replace check with assert

This case can't happen since this module is responsible of creating
va surfaces.
parent ecb59ffe
......@@ -157,12 +157,7 @@ tc_vaegl_update(const opengl_tex_converter_t *tc, GLuint *textures,
goto error;
release_image = true;
if (va_image.format.fourcc != priv->fourcc)
msg_Err(tc->gl, "fourcc changed");
/* TODO: fetch new fourcc and reconfigure shader */
goto error;
assert(va_image.format.fourcc == priv->fourcc);
va_buffer_info = (VABufferInfo) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment