From 5eccbc7aa8c522c170cfbee057454d1128ffa712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 29 Mar 2015 23:08:45 -0700 Subject: [PATCH] Cleanup. --- src/renderer_gl.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/renderer_gl.h b/src/renderer_gl.h index 9c3e1f8c..65dae432 100644 --- a/src/renderer_gl.h +++ b/src/renderer_gl.h @@ -704,24 +704,6 @@ namespace bgfx { namespace gl class VaoCacheRef { public: -#if BX_COMPILER_MSVC >= 1900 - void add(uint32_t _hash) - { - m_vaoSet.insert(stl::make_pair(_hash, _hash) ); - } - - void invalidate(VaoStateCache& _vaoCache) - { - for (VaoSet::iterator it = m_vaoSet.begin(), itEnd = m_vaoSet.end(); it != itEnd; ++it) - { - _vaoCache.invalidate(it->first); - } - - m_vaoSet.clear(); - } - - typedef stl::unordered_map VaoSet; -#else void add(uint32_t _hash) { m_vaoSet.insert(_hash); @@ -738,7 +720,6 @@ namespace bgfx { namespace gl } typedef stl::unordered_set VaoSet; -#endif // VaoSet m_vaoSet; };