make samplercache global and call constructor/destructor
This commit is contained in:
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()
|
||||
{}
|
||||
|
||||
Reference in new issue
Block a user