diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-09 23:55:46 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-09 23:55:46 +0400 |
commit | be7b4e26b19d705224dc6833892f792659662777 (patch) | |
tree | f489cce53f70a15457bc11b8826c080466cdb80c /intern/cycles/render/tile.cpp | |
parent | fd263bf725f42f965fd203e257201ef131e20057 (diff) |
Fix cycles not rendering with 1x1 resolution anymore, not so common for users
but nice for debugging.
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; |