Commit 71690aa7 authored by Thomas Guillem's avatar Thomas Guillem

opengl: disable color conversions for subpic programs

Since it's RV32.
parent b2f63c22
......@@ -630,6 +630,9 @@ opengl_init_program(vout_display_opengl_t *vgl, struct prgm *prgm,
/* Normal orientation and no projection for subtitles */
tc->fmt.orientation = ORIENT_NORMAL;
tc->fmt.projection_mode = PROJECTION_MODE_RECTANGULAR;
tc->fmt.primaries = COLOR_PRIMARIES_UNDEF;
tc->fmt.transfer = TRANSFER_FUNC_UNDEF;
ret = opengl_tex_converter_generic_init(tc, false);
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