diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-24 21:43:39 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-24 21:44:05 +0300 |
commit | e9770adf6370252993936d6a89c4a2fd7ce17498 (patch) | |
tree | 3b62a5e7f0ddfe00953aab941217d6f8b78c6fd3 | |
parent | 8e58e197fdb4935373eea353e0abd45973ead2da (diff) |
Cycles: Remove obsolete variable from the TileManager
-rw-r--r-- | intern/cycles/render/tile.cpp | 2 | ||||
-rw-r--r-- | intern/cycles/render/tile.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/render/tile.cpp b/intern/cycles/render/tile.cpp index a493c3fa1cd..76d0b9a57c2 100644 --- a/intern/cycles/render/tile.cpp +++ b/intern/cycles/render/tile.cpp @@ -131,7 +131,6 @@ void TileManager::reset(BufferParams& params_, int num_samples_) state.buffer = BufferParams(); state.sample = range_start_sample - 1; state.num_tiles = 0; - state.num_rendered_tiles = 0; state.num_samples = 0; state.resolution_divider = get_divider(params.width, params.height, start_resolution); state.tiles.clear(); @@ -343,7 +342,6 @@ bool TileManager::next_tile(Tile& tile, int device) tile = Tile(state.tiles[logical_device].front()); state.tiles[logical_device].pop_front(); - state.num_rendered_tiles++; return true; } diff --git a/intern/cycles/render/tile.h b/intern/cycles/render/tile.h index 5d92ebac355..85fc89bc397 100644 --- a/intern/cycles/render/tile.h +++ b/intern/cycles/render/tile.h @@ -63,7 +63,6 @@ public: int num_samples; int resolution_divider; int num_tiles; - int num_rendered_tiles; /* Total samples over all pixels: Generally num_samples*num_pixels, * but can be higher due to the initial resolution division for previews. */ |