Fixed dark colors on Metal without frame blending

This commit is contained in:
Lior Halphon 2020-12-12 16:02:46 +02:00
parent 7de6194e28
commit 6b30de5fb1
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ fragment float4 fragment_shader(rasterizer_data in [[stage_in]],
switch (*frame_blending_mode) {
default:
case DISABLED:
return scale(image, in.texcoords, input_resolution, *output_resolution);
return pow(scale(image, in.texcoords, input_resolution, *output_resolution), 1 / GAMMA);
case SIMPLE:
ratio = 0.5;
break;