Use ubyte* for g3_poly_get_color
This commit is contained in:
parent
be1cab6dd1
commit
66f97d20c7
|
@ -307,9 +307,8 @@ void verify(ubyte *data)
|
|||
}
|
||||
|
||||
// check a polymodel for it's color and return it
|
||||
int g3_poly_get_color(void *model_ptr)
|
||||
int g3_poly_get_color(ubyte *p)
|
||||
{
|
||||
ubyte *p = model_ptr;
|
||||
int color = 0;
|
||||
|
||||
while (w(p) != OP_EOF)
|
||||
|
|
|
@ -38,7 +38,7 @@ bool g3_draw_morphing_model(void *model_ptr,grs_bitmap **model_bitmaps,vms_angve
|
|||
void g3_remap_interp_colors(void);
|
||||
|
||||
// check a polymodel for it's color and return it
|
||||
int g3_poly_get_color(void *model_ptr);
|
||||
int g3_poly_get_color(ubyte *model_ptr);
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
// routine to convert little to big endian in polygon model data
|
||||
|
|
Loading…
Reference in a new issue