SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit cfcdce81ba38904e7b1f8fe8b553a2dbd7810b69 parent e88a48e0a13f92c565dcc62ff6bd9ce4a8774725 Author: Lior Halphon <LIJI32@gmail.com> Date: Wed, 24 Jun 2020 19:15:20 +0300 Fix color in OpenGL when frame blending is disabled Diffstat:
| M | Shaders/MasterShader.fsh | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Shaders/MasterShader.fsh b/Shaders/MasterShader.fsh @@ -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;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.