summaryrefslogtreecommitdiff
path: root/engine/stage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/stage.cpp')
-rw-r--r--engine/stage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/stage.cpp b/engine/stage.cpp
index 59fda88..46e18a8 100644
--- a/engine/stage.cpp
+++ b/engine/stage.cpp
@@ -65,7 +65,7 @@ void Stage::draw() {
shader->use();
glPointSize(32.0);
glEnable(GL_TEXTURE_2D);
- glBindTexture(GL_TEXTURE_2D, texture->tex());
+ texture->bind();
for(std::vector<BulletPattern*>::iterator it = patterns.begin(); it < patterns.end(); it++) {
BulletPattern *bp = (*it);