From cabd7409e5b152ac51090454deca32674a680b8a Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 1 Aug 2015 11:08:39 +0200 Subject: [PATCH] gsdx-ogl: don't validate the pipeline Too noisy in debugger trace. Never catch any errors anyway. --- plugins/GSdx/GSShaderOGL.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/GSdx/GSShaderOGL.cpp b/plugins/GSdx/GSShaderOGL.cpp index 9a80583671..ab88c0d2f6 100644 --- a/plugins/GSdx/GSShaderOGL.cpp +++ b/plugins/GSdx/GSShaderOGL.cpp @@ -191,8 +191,6 @@ GLuint GSShaderOGL::LinkNewProgram() void GSShaderOGL::UseProgram() { - GL_PUSH("Use Program And Uniform"); - if (GLState::dirty_prog) { if (!GLLoader::found_GL_ARB_separate_shader_objects) { GLState::dirty_ressources = true; @@ -219,17 +217,12 @@ void GSShaderOGL::UseProgram() gl_UseProgram(GLState::program); } } - - } else { - ValidatePipeline(m_pipeline); } } SetupRessources(); GLState::dirty_prog = false; - - GL_POP(); } std::string GSShaderOGL::GenGlslHeader(const std::string& entry, GLenum type, const std::string& macro)