Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"
This commit is contained in:
@@ -55,7 +55,7 @@ struct ImBuf;
|
||||
void do_halo_tex(struct HaloRen *har, float xn, float yn, float *colf);
|
||||
void do_sky_tex(float *rco, float *lo, float *dxyview, float *hor, float *zen, float *blend, int skyflag);
|
||||
void do_material_tex(struct ShadeInput *shi);
|
||||
void do_lamp_tex(LampRen *la, float *lavec, struct ShadeInput *shi, float *colf, short effect);
|
||||
void do_lamp_tex(LampRen *la, float *lavec, struct ShadeInput *shi, float *colf, int effect);
|
||||
|
||||
void init_render_textures(Render *re);
|
||||
|
||||
|
||||
@@ -2301,7 +2301,7 @@ void do_sky_tex(float *rco, float *lo, float *dxyview, float *hor, float *zen, f
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* colf supposed to be initialized with la->r,g,b */
|
||||
|
||||
void do_lamp_tex(LampRen *la, float *lavec, ShadeInput *shi, float *colf, short effect)
|
||||
void do_lamp_tex(LampRen *la, float *lavec, ShadeInput *shi, float *colf, int effect)
|
||||
{
|
||||
Object *ob;
|
||||
MTex *mtex;
|
||||
|
||||
Reference in New Issue
Block a user