diff options
Diffstat (limited to 'intern/cycles/render/tile.cpp')
-rw-r--r-- | intern/cycles/render/tile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/tile.cpp b/intern/cycles/render/tile.cpp index 55bbfeb3f1b..ea938943f93 100644 --- a/intern/cycles/render/tile.cpp +++ b/intern/cycles/render/tile.cpp @@ -189,7 +189,7 @@ list<Tile>::iterator TileManager::next_background_tile(int device, int tile_orde int64_t cordx = max(1, params.width/resolution); int64_t cordy = max(1, params.height/resolution); - int64_t mindist = cordx * cordy; + int64_t mindist = INT_MAX; int64_t centx = cordx / 2, centy = cordy / 2; |