make samplercache global and call constructor/destructor

This commit is contained in:
degasus committed 2013-02-26 18:30:13 +01:00
1 parent 4883fa268f
commit 9bc8d6e02b
4 files changed
+10 -6

No files matched your search

@@ -20,6 +20,8 @@
namespace OGL
{
SamplerCache *g_sampler_cache;
SamplerCache::SamplerCache()
: m_last_max_anisotropy()
{}