mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-10 17:13:59 +02:00
Fixed dark colors on Metal without frame blending
This commit is contained in:
@@ -66,7 +66,7 @@ fragment float4 fragment_shader(rasterizer_data in [[stage_in]],
|
|||||||
switch (*frame_blending_mode) {
|
switch (*frame_blending_mode) {
|
||||||
default:
|
default:
|
||||||
case DISABLED:
|
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:
|
case SIMPLE:
|
||||||
ratio = 0.5;
|
ratio = 0.5;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user