Fix #32529: after tomato merge, cycles multi GPU render not using all GPUs with
F12 rendering.
This commit is contained in:
parent
bb3b3abe30
commit
4479440c4a
@ -320,7 +320,7 @@ bool Session::acquire_tile(Device *tile_device, RenderTile& rtile)
|
||||
|
||||
/* get next tile from manager */
|
||||
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))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user