Mesa (master): draw: fix a silly error

Zack Rusin zack at kemper.freedesktop.org
Thu Jun 17 15:13:32 UTC 2010


Module: Mesa
Branch: master
Commit: 06b854752f8a550ddd299610e0e22c8f929109e2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06b854752f8a550ddd299610e0e22c8f929109e2

Author: Zack Rusin <zackr at vmware.com>
Date:   Thu Jun 17 11:13:18 2010 -0400

draw: fix a silly error

---

 src/gallium/auxiliary/draw/draw_gs_tmp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_gs_tmp.h b/src/gallium/auxiliary/draw/draw_gs_tmp.h
index 4687e88..e906f08 100644
--- a/src/gallium/auxiliary/draw/draw_gs_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_gs_tmp.h
@@ -114,7 +114,7 @@ static void FUNC( struct draw_geometry_shader *shader,
       break;
    case PIPE_PRIM_LINE_STRIP_ADJACENCY:
       for (i = 1; i + 2 < count; i++) {
-         LINE( shader, i - 1, i, i + 1, i + 2 );
+         LINE_ADJ( shader, i - 1, i, i + 1, i + 2 );
       }
       break;
 




More information about the mesa-commit mailing list