/* arg to g3d_polygon_mode */
enum {
- G3D_WIRE,
G3D_FLAT,
G3D_GOURAUD
};
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);