make samplercache global and call constructor/destructor

This commit is contained in:
degasus 2013-02-26 18:30:13 +01:00
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