From 5388fb8cea38ebf8158d0f7ad8bd202e966f8e14 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 7 May 2013 04:40:25 -0700 Subject: [PATCH] Draw backdrop in GLSL renderer --- src/gba/renderers/video-glsl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gba/renderers/video-glsl.c b/src/gba/renderers/video-glsl.c index c642bbf94..25ee286d8 100644 --- a/src/gba/renderers/video-glsl.c +++ b/src/gba/renderers/video-glsl.c @@ -83,6 +83,9 @@ static const GLchar* _fragmentShader = " runPriority(1, color);\n" " runPriority(2, color);\n" " runPriority(3, color);\n" + " if (color.a == 0.0) {\n" + " color = texture2D(vram, vec2(0.0, y / 256.0));\n" + " }\n" " gl_FragColor = color;\n" "}\n";