diff options
-rw-r--r-- | intern/cycles/render/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 2fb1f49e563..0efbcb8afd3 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -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; |