From caaa9914fd359464a3c54c27ea275130c1778d0f Mon Sep 17 00:00:00 2001 From: FernandoS27 Date: Tue, 16 Oct 2018 08:03:39 -0400 Subject: Clang format and other fixes --- src/video_core/rasterizer_cache.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/video_core/rasterizer_cache.h b/src/video_core/rasterizer_cache.h index 294b7c6ef..0a3b3951e 100644 --- a/src/video_core/rasterizer_cache.h +++ b/src/video_core/rasterizer_cache.h @@ -105,22 +105,6 @@ protected: return nullptr; } - std::vector GetInRange(Tegra::GPUVAddr addr, size_t size) { - std::vector objects; - if (size == 0) - return objects; - - const ObjectInterval interval{addr, addr + size}; - for (auto& pair : boost::make_iterator_range(object_cache.equal_range(interval))) { - for (auto& cached_object : pair.second) { - if (!cached_object) - continue; - objects.push_back(cached_object); - } - } - return objects; - } - /// Register an object into the cache void Register(const T& object) { object->SetIsRegistered(true); -- cgit v1.2.3