Demos (master): pixeltest: fix linewidth for ui

Keith Whitwell keithw at kemper.freedesktop.org
Fri Sep 17 15:54:24 UTC 2010


Module: Demos
Branch: master
Commit: d4abb15e8b8bd724b45b0b92980f32800245e55c
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=d4abb15e8b8bd724b45b0b92980f32800245e55c

Author: Hui Qi Tay <tayhuiqithq at gmail.com>
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);




More information about the mesa-commit mailing list