mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
9272be182e
commit
f604ba8d7f
|
@ -110,10 +110,10 @@ GSDeviceOGL::~GSDeviceOGL()
|
|||
glDeleteSamplers(1, &m_rt_ss);
|
||||
delete m_vb;
|
||||
|
||||
for (auto it : m_vs) glDeleteProgram(it.second);
|
||||
for (auto it : m_gs) glDeleteProgram(it.second);
|
||||
for (auto it : m_ps) glDeleteProgram(it.second);
|
||||
for (auto it : m_ps_ss) glDeleteSamplers(1, &it.second);
|
||||
for (auto it = m_vs.begin(); it != m_vs.end() ; it++) glDeleteProgram(it->second);
|
||||
for (auto it = m_gs.begin(); it != m_gs.end() ; it++) glDeleteProgram(it->second);
|
||||
for (auto it = m_ps.begin(); it != m_ps.end() ; it++) glDeleteProgram(it->second);
|
||||
for (auto it = m_ps_ss.begin(); it != m_ps_ss.end() ; it++) glDeleteSamplers(1, &it->second);
|
||||
m_vs.clear();
|
||||
m_gs.clear();
|
||||
m_ps.clear();
|
||||
|
|
Loading…
Reference in New Issue