text-freetype2: Render in nonlinear space
Colors not working properly. Don't want to alter gradients (yet).
This commit is contained in:
parent
9b38bac480
commit
1f972a066c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user