generalized pixel format handling in 3d pipeline
[bootcensus] / src / census / polyfill.h
index 0a88098..86c7947 100644 (file)
@@ -2,6 +2,7 @@
 #define POLYFILL_H_
 
 #include "inttypes.h"
+#include "3dgfx.h"
 
 #define POLYFILL_MODE_MASK     0x03
 #define POLYFILL_TEX_BIT       0x04
@@ -33,7 +34,7 @@ struct pvertex {
 };
 
 struct pimage {
-       uint32_t *pixels;
+       g3d_pixel *pixels;
        int width, height;
 
        int xshift, yshift;