mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 17:19:42 +00:00
Allow DrawPixels (uploads) to handle alpha.
Doesn't update stencil, but at least it updates alpha. This was fixed to 1.0 before because we had blending enabled by accident during DrawPixels().
This commit is contained in:
parent
359f72078d
commit
2d63a74aeb
@ -70,8 +70,7 @@ static const char tex_fs[] =
|
||||
"uniform sampler2D sampler0;\n"
|
||||
"varying vec2 v_texcoord0;\n"
|
||||
"void main() {\n"
|
||||
" gl_FragColor.rgb = texture2D(sampler0, v_texcoord0).rgb;\n"
|
||||
" gl_FragColor.a = 1.0;\n"
|
||||
" gl_FragColor = texture2D(sampler0, v_texcoord0);\n"
|
||||
"}\n";
|
||||
|
||||
static const char basic_vs[] =
|
||||
|
Loading…
Reference in New Issue
Block a user