diff options
author | Carsten Teibes | 2014-03-31 15:30:52 +0200 |
---|---|---|
committer | Carsten Teibes | 2014-03-31 15:30:52 +0200 |
commit | 4f6850d982e09d78793e115dcb51be79e2b0b5d0 (patch) | |
tree | 1554933cb25bd4883e7aa493fd036a64532c5f19 /mars-shader.patch | |
download | aur-4f6850d982e09d78793e115dcb51be79e2b0b5d0.tar.gz |
[add] mars-shooter-git
Diffstat (limited to 'mars-shader.patch')
-rw-r--r-- | mars-shader.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mars-shader.patch b/mars-shader.patch new file mode 100644 index 000000000000..de140b8ef1ab --- /dev/null +++ b/mars-shader.patch @@ -0,0 +1,17 @@ +--- src/System/window.cpp.orig 2014-03-31 15:18:22.264354000 +0200 ++++ src/System/window.cpp 2014-03-31 15:18:22.407689000 +0200 +@@ -308,13 +308,10 @@ namespace window { + glEnable(GL_TEXTURE_2D); + + if (shader) +- shader->bind(); ++ shader->bind(NULL); + + window_.draw(toBeDrawn, states); + +- if (shader) +- shader->unbind(); +- + window_.popGLStates(); + glPopMatrix(); + glPopAttrib(); |