mirror of https://github.com/bsnes-emu/bsnes.git
Fix color in OpenGL when frame blending is disabled
This commit is contained in:
parent
e88a48e0a1
commit
cfcdce81ba
|
@ -43,7 +43,7 @@ void main()
|
||||||
switch (frame_blending_mode) {
|
switch (frame_blending_mode) {
|
||||||
default:
|
default:
|
||||||
case DISABLED:
|
case DISABLED:
|
||||||
frag_color = scale(image, position, input_resolution, output_resolution);
|
frag_color = pow(scale(image, position, input_resolution, output_resolution), vec4(1.0 / GAMMA));
|
||||||
return;
|
return;
|
||||||
case SIMPLE:
|
case SIMPLE:
|
||||||
ratio = 0.5;
|
ratio = 0.5;
|
||||||
|
|
Loading…
Reference in New Issue