tnl: if NAN_CHECK is enabled, also assert that pos.x != 0

This commit is contained in:
Brian Paul 2009-08-13 12:42:52 -06:00
parent c10002361c
commit 53dfd5d870

View 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],