SHARE
TWEET

patch for mars - AUR

a guest Apr 26th, 2013 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- mars-build/src/System/window.cpp
  2. +++ mars-build/src/System/window.cpp
  3. @@ -308,13 +308,10 @@
  4.          glEnable(GL_TEXTURE_2D);
  5.  
  6.          if (shader)
  7. -            shader->bind();
  8. +            shader->bind(NULL);
  9.  
  10.          window_.draw(toBeDrawn, states);
  11.  
  12. -        if (shader)
  13. -            shader->unbind();
  14. -
  15.          window_.popGLStates();
  16.          glPopMatrix();
  17.          glPopAttrib();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top