Draw backdrop in GLSL renderer

This commit is contained in:
Jeffrey Pfau 2013-05-07 04:40:25 -07:00
parent 03fb87acd0
commit 5388fb8cea
1 changed files with 3 additions and 0 deletions

View File

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