gsdx-ogl: LINUX-ONLY

Remove foreach feature not supported on old compiler


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5002 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2011-12-21 20:37:24 +00:00
parent 9272be182e
commit f604ba8d7f
1 changed files with 4 additions and 4 deletions

View File

@ -110,10 +110,10 @@ GSDeviceOGL::~GSDeviceOGL()
glDeleteSamplers(1, &m_rt_ss); glDeleteSamplers(1, &m_rt_ss);
delete m_vb; delete m_vb;
for (auto it : m_vs) glDeleteProgram(it.second); for (auto it = m_vs.begin(); it != m_vs.end() ; it++) glDeleteProgram(it->second);
for (auto it : m_gs) glDeleteProgram(it.second); for (auto it = m_gs.begin(); it != m_gs.end() ; it++) glDeleteProgram(it->second);
for (auto it : m_ps) glDeleteProgram(it.second); for (auto it = m_ps.begin(); it != m_ps.end() ; it++) glDeleteProgram(it->second);
for (auto it : m_ps_ss) glDeleteSamplers(1, &it.second); for (auto it = m_ps_ss.begin(); it != m_ps_ss.end() ; it++) glDeleteSamplers(1, &it->second);
m_vs.clear(); m_vs.clear();
m_gs.clear(); m_gs.clear();
m_ps.clear(); m_ps.clear();