Change type of pixptr to const color_palette_index*
This commit is contained in:
parent
494ded9e04
commit
7ac96996d3
|
@ -59,7 +59,7 @@ unsigned char *write_buffer;
|
|||
|
||||
fix fx_l, fx_u, fx_v, fx_z, fx_du_dx, fx_dv_dx, fx_dz_dx, fx_dl_dx;
|
||||
int fx_xleft, fx_xright, fx_y;
|
||||
const unsigned char *pixptr;
|
||||
const color_palette_index *pixptr;
|
||||
uint8_t Transparency_on = 0;
|
||||
uint8_t tmap_flat_color;
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ fix compute_dx_dy(const g3ds_tmap &t, int top_vertex,int bottom_vertex, fix reci
|
|||
void compute_y_bounds(const g3ds_tmap &t, int &vlt, int &vlb, int &vrt, int &vrb,int &bottom_y_ind);
|
||||
|
||||
extern int fx_y,fx_xleft,fx_xright;
|
||||
extern const unsigned char *pixptr;
|
||||
extern const color_palette_index *pixptr;
|
||||
// texture mapper scanline renderers
|
||||
// Interface variables to assembler code
|
||||
extern fix fx_u,fx_v,fx_z,fx_du_dx,fx_dv_dx,fx_dz_dx;
|
||||
|
|
Loading…
Reference in a new issue