gsdx-ogl: remove dead code (due to legacy removal)

This commit is contained in:
Gregory Hainaut 2016-04-10 14:23:58 +02:00
parent 3f404c8edb
commit 395e2f31d0
2 changed files with 0 additions and 5 deletions

View File

@ -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)

View File

@ -23,7 +23,6 @@
class GSShaderOGL {
GLuint m_pipeline;
hash_map<uint64, GLuint > m_single_prog;
const bool m_debug_shader;
bool ValidateProgram(GLuint p);