mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Fix GL_INVALID_OPERATION
This commit is contained in:
parent
f244aed9c0
commit
b2b63b296d
1 changed files with 0 additions and 1 deletions
|
@ -496,7 +496,6 @@ void GLVolume::render_with_outline(const GUI::Size& cnv_size)
|
|||
|
||||
// Some clean up to do
|
||||
glsafe(::glBindTexture(GL_TEXTURE_2D, 0));
|
||||
shader->set_uniform("screen_size", 0);
|
||||
shader->set_uniform("is_outline", false);
|
||||
if (framebuffers_type == GUI::OpenGLManager::EFramebufferType::Arb) {
|
||||
glsafe(::glBindFramebuffer(GL_FRAMEBUFFER, 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue