mirror of https://github.com/PCSX2/pcsx2.git
gsdx-debug: remove old assert
This commit is contained in:
parent
503459798a
commit
19d9349b0b
|
@ -391,15 +391,7 @@ void GSDeviceOGL::Flip()
|
||||||
|
|
||||||
void GSDeviceOGL::BeforeDraw()
|
void GSDeviceOGL::BeforeDraw()
|
||||||
{
|
{
|
||||||
GL_PUSH("Before Draw Validation & Setup");
|
|
||||||
|
|
||||||
m_shader->UseProgram();
|
m_shader->UseProgram();
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
ASSERT(gl_CheckFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GL_POP();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GSDeviceOGL::AfterDraw()
|
void GSDeviceOGL::AfterDraw()
|
||||||
|
|
|
@ -239,6 +239,8 @@ GLuint GSShaderOGL::LinkNewProgram()
|
||||||
|
|
||||||
void GSShaderOGL::UseProgram()
|
void GSShaderOGL::UseProgram()
|
||||||
{
|
{
|
||||||
|
GL_PUSH("Use Program And Uniform");
|
||||||
|
|
||||||
if (GLState::dirty_prog) {
|
if (GLState::dirty_prog) {
|
||||||
if (!GLLoader::found_GL_ARB_separate_shader_objects) {
|
if (!GLLoader::found_GL_ARB_separate_shader_objects) {
|
||||||
GLState::dirty_subroutine_vs = true;
|
GLState::dirty_subroutine_vs = true;
|
||||||
|
@ -278,6 +280,8 @@ void GSShaderOGL::UseProgram()
|
||||||
SetupSubroutineUniform();
|
SetupSubroutineUniform();
|
||||||
|
|
||||||
GLState::dirty_prog = false;
|
GLState::dirty_prog = false;
|
||||||
|
|
||||||
|
GL_POP();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GSShaderOGL::GenGlslHeader(const std::string& entry, GLenum type, const std::string& macro)
|
std::string GSShaderOGL::GenGlslHeader(const std::string& entry, GLenum type, const std::string& macro)
|
||||||
|
|
Loading…
Reference in New Issue