From cdcbdf8ce46d14c753d68ee8dfa533c642376805 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 28 Jan 2022 13:28:31 +0100 Subject: Remove compilation warnings TexResult. --- source/blender/render/RE_texture.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/render/RE_texture.h') diff --git a/source/blender/render/RE_texture.h b/source/blender/render/RE_texture.h index d71c793f300..c6ccc547ff4 100644 --- a/source/blender/render/RE_texture.h +++ b/source/blender/render/RE_texture.h @@ -99,10 +99,11 @@ void RE_point_density_fix_linking(void); /** * Texture evaluation result. - * \note `tr tg tb ta` have to remain in this order for array access. */ typedef struct TexResult { - float tin, tr, tg, tb, ta; + float tin; + float trgba[4]; + /* Is acually a bool true->use alpha, false->set alpha to 1.0. */ int talpha; float *nor; } TexResult; -- cgit v1.2.3