Mesa (arb_geometry_shader4): gs: fix a typo

Zack Rusin zack at kemper.freedesktop.org
Sun Sep 13 00:13:55 UTC 2009


Module: Mesa
Branch: arb_geometry_shader4
Commit: c15dcf6124ba9758e80b134f80f747d005e50ad1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c15dcf6124ba9758e80b134f80f747d005e50ad1

Author: Zack Rusin <zackr at vmware.com>
Date:   Sat Sep 12 19:47:02 2009 -0400

gs: fix a typo

---

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

diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c
index 6df87e1..e666a27 100644
--- a/src/gallium/auxiliary/draw/draw_gs.c
+++ b/src/gallium/auxiliary/draw/draw_gs.c
@@ -46,7 +46,7 @@ boolean
 draw_gs_init( struct draw_context *draw )
 {
    draw->gs.machine = tgsi_exec_machine_create();
-   if (!draw->vs.machine)
+   if (!draw->gs.machine)
       return FALSE;
 
    draw->gs.machine->Primitives = align_malloc(




More information about the mesa-commit mailing list