diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-11-09 17:42:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-11-09 18:19:49 +0300 |
commit | 880b0f981dce558d0661c1b838753fb7a07945c1 (patch) | |
tree | 84860cc0ae2b49d0c3f4a85ee7367408eb34313e /source/blender/render/intern/multires_bake.c | |
parent | 4f66cf3b8bb02f2c7c7c235ad7039ba1aa43212a (diff) |
Cleanup: more renaming in the render/ module for consistency
Diffstat (limited to 'source/blender/render/intern/multires_bake.c')
-rw-r--r-- | source/blender/render/intern/multires_bake.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/render/intern/multires_bake.c b/source/blender/render/intern/multires_bake.c index ea18f151e1e..a4f68419c67 100644 --- a/source/blender/render/intern/multires_bake.c +++ b/source/blender/render/intern/multires_bake.c @@ -46,7 +46,7 @@ #include "RE_multires_bake.h" #include "RE_pipeline.h" -#include "RE_shader_ext.h" +#include "RE_texture.h" #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" @@ -111,6 +111,11 @@ typedef struct { const int *orig_index_mp_to_orig; } MNormalBakeData; +typedef struct BakeImBufuserData { + float *displacement_buffer; + char *mask_buffer; +} BakeImBufuserData; + static void multiresbake_get_normal(const MResolvePixelData *data, float norm[], const int tri_num, |