From 2b119e1e192ead701e69e261fe94ccb7382dbee7 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Sun, 7 Dec 2014 00:37:37 +1000 Subject: Performance of main client loop up to 2x faster In places, up to 3 times faster NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released --- src/clientmap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/clientmap.h') diff --git a/src/clientmap.h b/src/clientmap.h index 91f58a70c..492e23fa5 100644 --- a/src/clientmap.h +++ b/src/clientmap.h @@ -154,6 +154,10 @@ private: std::map m_drawlist; std::set m_last_drawn_sectors; + + bool m_cache_trilinear_filter; + bool m_cache_bilinear_filter; + bool m_cache_anistropic_filter; }; #endif -- cgit v1.2.3