diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-20 13:17:40 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-20 13:17:40 +0400 |
commit | 415868b5e2dc1732aebe19c1fbd17d180249d396 (patch) | |
tree | 78d3ed2bbbf03e2fed10e1f5ae040f789bf3c798 /source/blender/render/intern/include/texture.h | |
parent | 4d551c0a0ded51c443f86696d5644510c0ca3065 (diff) |
Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"
Diffstat (limited to 'source/blender/render/intern/include/texture.h')
-rw-r--r-- | source/blender/render/intern/include/texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h index 62833566652..be5471e07c4 100644 --- a/source/blender/render/intern/include/texture.h +++ b/source/blender/render/intern/include/texture.h @@ -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); |