diff options
author | Brian Paul <brianp@vmware.com> | 2010-09-29 09:35:34 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-09-29 09:35:36 -0600 |
commit | d0928df9ffac0dc0ff6539556f48ca2fcb6b7b42 (patch) | |
tree | 80217fa9f255fd340e53ba99081eb2db074a0ff8 | |
parent | 9682c3021140961d26c4c6b1dcc1d148eb137cd2 (diff) |
fbo: tweak vertex pos for line drawing
This compensates for slight differences in line rasterization from one
driver to another and allows more drivers to pass.
-rw-r--r-- | src/glean/tfbo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glean/tfbo.cpp b/src/glean/tfbo.cpp index f24fe7f..886facc 100644 --- a/src/glean/tfbo.cpp +++ b/src/glean/tfbo.cpp @@ -675,7 +675,7 @@ FBOTest::testRender2SingleTexture(void) case GL_TEXTURE_1D: glBegin(GL_LINES); glVertex3f(TEXSIZE / 4, 0.5, 0.3); - glVertex3f(TEXSIZE * 5 / 8, 0.5, 0.3); + glVertex3f(TEXSIZE * 5 / 8 + 0.25, 0.5, 0.3); glEnd(); break; case GL_TEXTURE_2D: |