summaryrefslogtreecommitdiff
path: root/pkgs/games/mars/unbind_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/mars/unbind_fix.patch')
-rw-r--r--pkgs/games/mars/unbind_fix.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkgs/games/mars/unbind_fix.patch b/pkgs/games/mars/unbind_fix.patch
deleted file mode 100644
index 2aef6eb5cf66..000000000000
--- a/pkgs/games/mars/unbind_fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/src/System/window.cpp b/src/System/window.cpp
-index e9a099a..e3f6de9 100644
---- a/src/System/window.cpp
-+++ b/src/System/window.cpp
-@@ -308,12 +308,12 @@ namespace window {
- glEnable(GL_TEXTURE_2D);
-
- if (shader)
-- shader->bind();
-+ sf::Shader::bind(shader);
-
- window_.draw(toBeDrawn, states);
-
- if (shader)
-- shader->unbind();
-+ sf::Shader::bind(NULL);
-
- window_.popGLStates();
- glPopMatrix();