Fix color in OpenGL when frame blending is disabled

This commit is contained in:
Lior Halphon 2020-06-24 19:15:20 +03:00
parent e88a48e0a1
commit cfcdce81ba
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void main()
switch (frame_blending_mode) {
default:
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;
case SIMPLE:
ratio = 0.5;