texture mapping and shading LUTs
[metatoy] / src / 3dgfx / 3dgfx.h
index 7bed815..050da6b 100644 (file)
@@ -51,7 +51,6 @@ enum { G3D_CCW, G3D_CW };
 
 /* arg to g3d_polygon_mode */
 enum {
-       G3D_WIRE,
        G3D_FLAT,
        G3D_GOURAUD
 };
@@ -79,7 +78,7 @@ void g3d_framebuffer(int width, int height, void *pixels);
 void g3d_framebuffer_addr(void *pixels);
 void g3d_viewport(int x, int y, int w, int h);
 
-void g3d_clear_color(unsigned char r, unsigned char g, unsigned char b);
+void g3d_clear_color(int cidx);
 void g3d_clear_depth(float z);
 void g3d_clear(unsigned int mask);