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:
Diffstat (limited to 'source/blender/yafray/intern/export_File.cpp')
-rw-r--r--source/blender/yafray/intern/export_File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp
index ea700965826..7ea83f9fda4 100644
--- a/source/blender/yafray/intern/export_File.cpp
+++ b/source/blender/yafray/intern/export_File.cpp
@@ -332,7 +332,7 @@ void yafrayFileRender_t::displayImage()
char a = (byte_per_pix==4) ? fgetc(fp) : 255;
int bx = x-xs, by = y-ys;
if ((bx >= 0) && (bx < (int)re->rectx) && (by >= 0) && (by < re->recty)) {
- float* bpt = (float*)rres.rectf + (bx + (((re->recty-1) - by)*re->rectx) << 2);
+ float* bpt = (float*)rres.rectf + ((bx + (((re->recty-1) - by)*re->rectx)) << 2);
bpt[2] = (float)r * btf;
bpt[1] = (float)g * btf;
bpt[0] = (float)b * btf;