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:
Unknown W. Brackets 2014-06-17 23:10:38 -07:00
parent 359f72078d
commit 2d63a74aeb

View File

@ -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[] =