Fix #32529: after tomato merge, cycles multi GPU render not using all GPUs with

F12 rendering.
This commit is contained in:
Brecht Van Lommel 2012-09-10 14:00:05 +00:00
parent bb3b3abe30
commit 4479440c4a

@ -320,7 +320,7 @@ bool Session::acquire_tile(Device *tile_device, RenderTile& rtile)
/* get next tile from manager */ /* get next tile from manager */
Tile tile; Tile tile;
int device_num = device->device_number(tile_device); int device_num = (params.background)? 0: device->device_number(tile_device);
if(!tile_manager.next_tile(tile, device_num)) if(!tile_manager.next_tile(tile, device_num))
return false; return false;