mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-22 21:23:12 +02:00
Fix color in OpenGL when frame blending is disabled
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user