Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- mars-build/src/System/window.cpp
- +++ mars-build/src/System/window.cpp
- @@ -308,13 +308,10 @@
- glEnable(GL_TEXTURE_2D);
- if (shader)
- - shader->bind();
- + shader->bind(NULL);
- window_.draw(toBeDrawn, states);
- - if (shader)
- - shader->unbind();
- -
- window_.popGLStates();
- glPopMatrix();
- glPopAttrib();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement