Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2022-01-28 15:28:31 +0300
committerJeroen Bakker <jeroen@blender.org>2022-01-28 15:28:31 +0300
commitcdcbdf8ce46d14c753d68ee8dfa533c642376805 (patch)
tree8557864b1f75f6a0a2c80df48692a7723c9e0300 /source/blender/render/RE_texture.h
parent7c48196056c88c17c551e3177ef7b6f276f01d77 (diff)
Remove compilation warnings TexResult.
Diffstat (limited to 'source/blender/render/RE_texture.h')
-rw-r--r--source/blender/render/RE_texture.h5
1 files changed, 3 insertions, 2 deletions
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;