diff --git a/plugins/GSdx/GSShaderOGL.cpp b/plugins/GSdx/GSShaderOGL.cpp index 6bf504ce41..c397afa845 100644 --- a/plugins/GSdx/GSShaderOGL.cpp +++ b/plugins/GSdx/GSShaderOGL.cpp @@ -27,7 +27,6 @@ GSShaderOGL::GSShaderOGL(bool debug) : m_pipeline(0), m_debug_shader(debug) { - m_single_prog.clear(); glCreateProgramPipelines(1, &m_pipeline); glBindProgramPipeline(m_pipeline); } @@ -35,9 +34,6 @@ GSShaderOGL::GSShaderOGL(bool debug) : GSShaderOGL::~GSShaderOGL() { glDeleteProgramPipelines(1, &m_pipeline); - - for (auto it = m_single_prog.begin(); it != m_single_prog.end() ; it++) glDeleteProgram(it->second); - m_single_prog.clear(); } void GSShaderOGL::Pipeline(GLuint vs, GLuint gs, GLuint ps) diff --git a/plugins/GSdx/GSShaderOGL.h b/plugins/GSdx/GSShaderOGL.h index 7538124417..65671d4763 100644 --- a/plugins/GSdx/GSShaderOGL.h +++ b/plugins/GSdx/GSShaderOGL.h @@ -23,7 +23,6 @@ class GSShaderOGL { GLuint m_pipeline; - hash_map m_single_prog; const bool m_debug_shader; bool ValidateProgram(GLuint p);