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/blenkernel/BKE_texture.h
parent83980506957cd4e31e8dc7041672efb256b5c28c (diff)
Cleanup: make texture coordinates const
Diffstat (limited to 'source/blender/blenkernel/BKE_texture.h')
-rw-r--r--source/blender/blenkernel/BKE_texture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_texture.h b/source/blender/blenkernel/BKE_texture.h
index c4c2498c2b1..aae8ffc47b9 100644
--- a/source/blender/blenkernel/BKE_texture.h
+++ b/source/blender/blenkernel/BKE_texture.h
@@ -85,14 +85,14 @@ bool BKE_texture_is_image_user(const struct Tex *tex);
void BKE_texture_get_value_ex(const struct Scene *scene,
struct Tex *texture,
- float *tex_co,
+ const float *tex_co,
struct TexResult *texres,
struct ImagePool *pool,
bool use_color_management);
void BKE_texture_get_value(const struct Scene *scene,
struct Tex *texture,
- float *tex_co,
+ const float *tex_co,
struct TexResult *texres,
bool use_color_management);