make samplercache global and call constructor/destructor

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

View file

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