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

@ -73,6 +73,8 @@ private:
int m_last_max_anisotropy;
};
extern SamplerCache *g_sampler_cache;
}
#endif