diff --git a/src/graphics/glwrap.cpp b/src/graphics/glwrap.cpp index a563a6ae4..ca165fb01 100644 --- a/src/graphics/glwrap.cpp +++ b/src/graphics/glwrap.cpp @@ -280,8 +280,8 @@ FrameBuffer::FrameBuffer(const std::vector &RTTs, size_t w, size_t h, glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, GL_TEXTURE_2D, RTTs[i], 0); } #ifndef ANDROID - GLenum result = glCheckFramebufferStatus(GL_FRAMEBUFFER); - assert(result == GL_FRAMEBUFFER_COMPLETE_EXT); + //~ GLenum result = glCheckFramebufferStatus(GL_FRAMEBUFFER); + //~ assert(result == GL_FRAMEBUFFER_COMPLETE_EXT); #endif } @@ -307,8 +307,8 @@ FrameBuffer::FrameBuffer(const std::vector &RTTs, GLuint DS, size_t w, glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_TEXTURE_2D, DS, 0); } #ifndef ANDROID - GLenum result = glCheckFramebufferStatus(GL_FRAMEBUFFER); - assert(result == GL_FRAMEBUFFER_COMPLETE_EXT); + //~ GLenum result = glCheckFramebufferStatus(GL_FRAMEBUFFER); + //~ assert(result == GL_FRAMEBUFFER_COMPLETE_EXT); if (layered) glGenFramebuffers(1, &fbolayer); #endif diff --git a/src/graphics/skybox.cpp b/src/graphics/skybox.cpp index c2c36d300..8dbf4afcd 100644 --- a/src/graphics/skybox.cpp +++ b/src/graphics/skybox.cpp @@ -284,8 +284,8 @@ void Skybox::generateSpecularCubemap() glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, m_specular_probe, level); - GLuint status = glCheckFramebufferStatus(GL_FRAMEBUFFER); - assert(status == GL_FRAMEBUFFER_COMPLETE); + //~ GLuint status = glCheckFramebufferStatus(GL_FRAMEBUFFER); + //~ assert(status == GL_FRAMEBUFFER_COMPLETE); SpecularIBLGenerator::getInstance()->setTextureUnits(m_cube_map); SpecularIBLGenerator::getInstance()->setUniforms(M[face],