Fix off-by-one scanline

This commit is contained in:
Jeffrey Pfau 2013-05-07 22:22:35 -07:00
parent 5b5251434f
commit 8047ce11d0
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ static const GLchar* _vertexShader[] = {
"void main() {",
" 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);",
"}"
};