[Bf-blender-cvs] [88acb3c] master: Fix T44707: cycles border render regression
Sv. Lockal
noreply at git.blender.org
Mon May 18 03:38:41 CEST 2015
Commit: 88acb3c599b31d37375c325c47cc9264ad700720
Author: Sv. Lockal
Date: Mon May 18 11:37:19 2015 +1000
Branches: master
https://developer.blender.org/rB88acb3c599b31d37375c325c47cc9264ad700720
Fix T44707: cycles border render regression
===================================================================
M intern/cycles/device/device.cpp
===================================================================
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp
index a9e4284..d69244a 100644
--- a/intern/cycles/device/device.cpp
+++ b/intern/cycles/device/device.cpp
@@ -163,7 +163,7 @@ void Device::draw_pixels(device_memory& rgba, int y, int w, int h, int dx, int d
/* fallback for old graphics cards that don't support GLSL, half float,
* and non-power-of-two textures */
glPixelZoom((float)width/(float)w, (float)height/(float)h);
- glRasterPos2f(0, dy);
+ glRasterPos2f(dx, dy);
uint8_t *pixels = (uint8_t*)rgba.data_pointer;
More information about the Bf-blender-cvs
mailing list