From 395e2f31d0f045b0132ffe138850cfefa72c8de7 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 10 Apr 2016 14:23:58 +0200 Subject: [PATCH] gsdx-ogl: remove dead code (due to legacy removal) --- plugins/GSdx/GSShaderOGL.cpp | 4 ---- plugins/GSdx/GSShaderOGL.h | 1 - 2 files changed, 5 deletions(-) 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);