Commit 1d828f29 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

opengl: fill opengl_tex_converter_t on success

parent 162fbc74
......@@ -306,8 +306,6 @@ tc_rgb_base_init(opengl_tex_converter_t *tc, GLenum tex_target,
{
(void) tex_target;
tc->tex_count = 1;
switch (chroma)
{
case VLC_CODEC_RGB32:
......@@ -328,6 +326,7 @@ tc_rgb_base_init(opengl_tex_converter_t *tc, GLenum tex_target,
default:
return VLC_EGENERIC;
}
tc->tex_count = 1;
return VLC_SUCCESS;
}
......
Markdown is supported
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