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:
authorJacques Lucke <jacques@blender.org>2020-10-01 17:56:24 +0300
committerJacques Lucke <jacques@blender.org>2020-10-01 17:57:00 +0300
commit958fc6944f75f51b9fe5b47f29ff82156b3c6286 (patch)
tree0f5b52f18461713b541e20a57c679cdb301d0b1a /source/blender/nodes/texture/node_texture_util.h
parent83980506957cd4e31e8dc7041672efb256b5c28c (diff)
Cleanup: make texture coordinates const
Diffstat (limited to 'source/blender/nodes/texture/node_texture_util.h')
-rw-r--r--source/blender/nodes/texture/node_texture_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/texture/node_texture_util.h b/source/blender/nodes/texture/node_texture_util.h
index 17a88ddaf5b..01d1aa5cd62 100644
--- a/source/blender/nodes/texture/node_texture_util.h
+++ b/source/blender/nodes/texture/node_texture_util.h
@@ -70,7 +70,7 @@ extern "C" {
typedef struct TexCallData {
TexResult *target;
/* all float[3] */
- float *co;
+ const float *co;
float *dxt, *dyt;
int osatex;
@@ -84,7 +84,7 @@ typedef struct TexCallData {
} TexCallData;
typedef struct TexParams {
- float *co;
+ const float *co;
float *dxt, *dyt;
const float *previewco;
int cfra;