draw: don't crash if GS doesn't emit anything
[mesa.git] / src / gallium / auxiliary / vl / vl_types.h
index eeabd43cb239cf59d4f8aaad0cdea5bf99cc6728..27bb69d67bceb17b697970122553ba2f4e10c5ac 100644 (file)
@@ -33,14 +33,19 @@ struct vertex2f
    float x, y;
 };
 
+struct vertex2s
+{
+   short x, y;
+};
+
 struct vertex4f
 {
    float x, y, z, w;
 };
 
-struct quadf
+struct vertex4s
 {
-   struct vertex2f bl, tl, tr, br;
+   short x, y, z, w;
 };
 
 #endif /* vl_types_h */