glsl: fix memory leak
[mesa.git] / src / mesa / tnl / t_vb_program.c
index 66c5e13729c1c1dc0ebb42da7cfa54fca34dd508..dc954bcba148046f89f553360d30c411d677701c 100644 (file)
@@ -386,6 +386,9 @@ run_vp( GLcontext *ctx, struct tnl_pipeline_stage *stage )
 #endif
          COPY_4V(store->results[attr].data[i], machine.Outputs[attr]);
       }
+#ifdef NAN_CHECK
+      ASSERT(machine.Outputs[0][3] != 0.0F);
+#endif
 #if 0
       printf("HPOS: %f %f %f %f\n",
              machine.Outputs[0][0],