mirror of https://github.com/mgba-emu/mgba.git
Fix off-by-one scanline
This commit is contained in:
parent
5b5251434f
commit
8047ce11d0
|
@ -105,7 +105,7 @@ static const GLchar* _vertexShader[] = {
|
||||||
|
|
||||||
"void main() {",
|
"void main() {",
|
||||||
" x = vert.x * 120.0 + 120.0;",
|
" x = vert.x * 120.0 + 120.0;",
|
||||||
" gl_Position = vec4(vert.x, 1.0 - y / 80.0, 0, 1.0);",
|
" gl_Position = vec4(vert.x, 1.0 - (y + 1.0) / 80.0, 0, 1.0);",
|
||||||
"}"
|
"}"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue