all repos — mgba @ 5388fb8cea38ebf8158d0f7ad8bd202e966f8e14

mGBA Game Boy Advance Emulator

Draw backdrop in GLSL renderer
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 04:40:25 -0700
commit

5388fb8cea38ebf8158d0f7ad8bd202e966f8e14

parent

03fb87acd0d89025a371a2f57eb890d76818e48d

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/gba/renderers/video-glsl.csrc/gba/renderers/video-glsl.c

@@ -83,6 +83,9 @@ " runPriority(0, color);\n"

" 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";