Eevee: Style: More Const correctness.
This commit is contained in:
parent
143b0ab52a
commit
08112c2acf
|
@ -471,7 +471,7 @@ static void eevee_init_util_texture(void)
|
|||
MEM_freeN(texels);
|
||||
}
|
||||
|
||||
void EEVEE_update_noise(EEVEE_PassList *psl, EEVEE_FramebufferList *fbl, double offsets[3])
|
||||
void EEVEE_update_noise(EEVEE_PassList *psl, EEVEE_FramebufferList *fbl, const double offsets[3])
|
||||
{
|
||||
e_data.noise_offsets[0] = offsets[0];
|
||||
e_data.noise_offsets[1] = offsets[1];
|
||||
|
|
|
@ -777,7 +777,7 @@ struct GPUMaterial *EEVEE_material_mesh_depth_get(struct Scene *scene, Material
|
|||
struct GPUMaterial *EEVEE_material_hair_get(struct Scene *scene, Material *ma, int shadow_method);
|
||||
void EEVEE_materials_free(void);
|
||||
void EEVEE_draw_default_passes(EEVEE_PassList *psl);
|
||||
void EEVEE_update_noise(EEVEE_PassList *psl, EEVEE_FramebufferList *fbl, double offsets[3]);
|
||||
void EEVEE_update_noise(EEVEE_PassList *psl, EEVEE_FramebufferList *fbl, const double offsets[3]);
|
||||
|
||||
/* eevee_lights.c */
|
||||
void EEVEE_lights_init(EEVEE_ViewLayerData *sldata);
|
||||
|
|
Loading…
Reference in New Issue