mirror of https://github.com/mgba-emu/mgba.git
Clear alpha channel in fragment shader (fixes #51)
This commit is contained in:
parent
084f0f037e
commit
6e32ade69e
|
@ -49,7 +49,9 @@ static const char* _fragmentShader =
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
|
|
||||||
"void main() {\n"
|
"void main() {\n"
|
||||||
" gl_FragColor = texture2D(tex, texCoord);\n"
|
" vec4 color = texture2D(tex, texCoord);\n"
|
||||||
|
" color.a = 1.;\n"
|
||||||
|
" gl_FragColor = color;"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
static const GLfloat _vertices[] = {
|
static const GLfloat _vertices[] = {
|
||||||
|
|
Loading…
Reference in New Issue