summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-02-26 18:30:13 +0100
committerdegasus <wickmarkus@web.de>2013-02-26 18:30:13 +0100
commit9bc8d6e02bf6349c70b68d884bdc666e8bfa6069 (patch)
tree7732a17d0000a0d2e79bcf41e4fcc0c830914242 /Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp
parent4883fa268fa60751a2c1fc0dd77ce022987daf21 (diff)
make samplercache global and call constructor/destructor
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/SamplerCache.cpp2
1 files changed, 2 insertions, 0 deletions
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()
{}