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-25 11:10:33 -07:00
committed by Jim
parent 9b38bac480
commit 1f972a066c
+1 -1
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)