-#define POLYFILL_MODE_MASK 0x03
-#define POLYFILL_TEX_BIT 0x04
-#define POLYFILL_ZBUF_BIT 0x08
+#define POLYFILL_MODE_MASK 0x01
+#define POLYFILL_TEX_BIT 0x02
+#define POLYFILL_ZBUF_BIT 0x04
void polyfill_tex_flat(struct pvertex *verts);
void polyfill_tex_gouraud(struct pvertex *verts);
void polyfill_flat_zbuf(struct pvertex *verts);
void polyfill_tex_flat(struct pvertex *verts);
void polyfill_tex_gouraud(struct pvertex *verts);
void polyfill_flat_zbuf(struct pvertex *verts);