mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-14 05:20:49 +00:00
gsdx-ogl: remove dead code (due to legacy removal)
This commit is contained in:
parent
3f404c8edb
commit
395e2f31d0
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user