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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-11-16 15:22:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-11-16 15:22:07 +0300
commit5576524e880305595f75cb523d5f5a07cfcd9824 (patch)
treee37735b943c8dc1236f18772ed22b777813f3847 /source/blender/imbuf/intern/allocimbuf.c
parent59ed62fb5f183b1edfb499f6fa0f8e1919099944 (diff)
ImBuf: Fix typo in duplicating float z buffer
Diffstat (limited to 'source/blender/imbuf/intern/allocimbuf.c')
-rw-r--r--source/blender/imbuf/intern/allocimbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c
index a9a21b4fea7..988f43ff9fa 100644
--- a/source/blender/imbuf/intern/allocimbuf.c
+++ b/source/blender/imbuf/intern/allocimbuf.c
@@ -521,7 +521,7 @@ ImBuf *IMB_dupImBuf(ImBuf *ibuf1)
if (flags & IB_zbuf)
memcpy(ibuf2->zbuf, ibuf1->zbuf, ((size_t)x) * y * sizeof(int));
- if (flags & IB_rectfloat)
+ if (flags & IB_zbuffloat)
memcpy(ibuf2->zbuf_float, ibuf1->zbuf_float, ((size_t)x) * y * sizeof(float));
if (ibuf1->encodedbuffer) {