Fix T44707: cycles border render regression

This commit is contained in:
Sv. Lockal 2015-05-18 11:37:19 +10:00 committed by Campbell Barton
parent 29aae4db38
commit 88acb3c599
Notes: blender-bot 2024-01-16 18:05:25 +01:00
Referenced by issue #44707, viewport render in broken with border render activated
1 changed files with 1 additions and 1 deletions

View File

@ -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;