diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2015-05-18 04:37:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-18 04:37:19 +0300 |
commit | 88acb3c599b31d37375c325c47cc9264ad700720 (patch) | |
tree | b039e84c59588806edf120b6c5ffca4bc3c777b7 | |
parent | 29aae4db38772cb5544a5e9998922facf951b89e (diff) |
Fix T44707: cycles border render regression
-rw-r--r-- | intern/cycles/device/device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp index a9e4284f35f..d69244a07bd 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; |