From 958fc6944f75f51b9fe5b47f29ff82156b3c6286 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 1 Oct 2020 16:56:24 +0200 Subject: Cleanup: make texture coordinates const --- source/blender/nodes/texture/node_texture_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/nodes/texture/node_texture_util.h') 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; -- cgit v1.2.3 From 880b0f981dce558d0661c1b838753fb7a07945c1 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 9 Nov 2020 15:42:38 +0100 Subject: Cleanup: more renaming in the render/ module for consistency --- source/blender/nodes/texture/node_texture_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/nodes/texture/node_texture_util.h') diff --git a/source/blender/nodes/texture/node_texture_util.h b/source/blender/nodes/texture/node_texture_util.h index 01d1aa5cd62..74f27ef3974 100644 --- a/source/blender/nodes/texture/node_texture_util.h +++ b/source/blender/nodes/texture/node_texture_util.h @@ -61,7 +61,7 @@ #include "IMB_imbuf_types.h" #include "RE_pipeline.h" -#include "RE_shader_ext.h" +#include "RE_texture.h" #ifdef __cplusplus extern "C" { -- cgit v1.2.3