Module: Demos Branch: master Commit: d4abb15e8b8bd724b45b0b92980f32800245e55c URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=d4abb15e8b8bd724b45b0b92980f32800245e55c
Author: Hui Qi Tay <[email protected]> Date: Fri Sep 17 16:50:29 2010 +0100 pixeltest: fix linewidth for ui Don't increase the ui linewidth when the tested linewidth increases. --- src/demos/pixeltest.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/demos/pixeltest.c b/src/demos/pixeltest.c index 744b94e..95b6481 100644 --- a/src/demos/pixeltest.c +++ b/src/demos/pixeltest.c @@ -254,6 +254,7 @@ Display( void ) glPixelStorei(GL_PACK_ALIGNMENT, 1); /* Legend */ + glLineWidth(1.0); glBegin(GL_LINE_STRIP); glVertex3f(590, 800, 0); glVertex3f(590, 670, 0); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
