From 9bc8d6e02bf6349c70b68d884bdc666e8bfa6069 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 26 Feb 2013 18:30:13 +0100 Subject: make samplercache global and call constructor/destructor --- Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp') diff --git a/Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp index d883d7e981..b007f89796 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp @@ -20,6 +20,8 @@ namespace OGL { +SamplerCache *g_sampler_cache; + SamplerCache::SamplerCache() : m_last_max_anisotropy() {} -- cgit v1.2.3