Fix CRT shader on OpenGL

This commit is contained in:
Lior Halphon 2020-04-11 18:03:21 +03:00
parent 852a6997ed
commit 2bc75caf9e

View File

@ -159,7 +159,7 @@ STATIC vec4 scale(sampler2D image, vec2 position, vec2 input_resolution, vec2 ou
}
// Gamma correction
ret = pow(ret, 0.72);
ret = pow(ret, vec4(0.72));
return ret;
}