text-freetype2: Render in nonlinear space

Colors not working properly. Don't want to alter gradients (yet).
This commit is contained in:
jpark37 2021-04-23 19:05:01 -07:00 committed by Jim
parent 9b38bac480
commit 1f972a066c

View File

@ -248,7 +248,7 @@ static void ft2_source_render(void *data, gs_effect_t *effect)
if (srcdata->text == NULL || *srcdata->text == 0)
return;
const bool previous = gs_set_linear_srgb(true);
const bool previous = gs_set_linear_srgb(false);
gs_reset_blend_state();
if (srcdata->outline_text)