summaryrefslogtreecommitdiff
path: root/engine/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/engine.cpp')
-rw-r--r--engine/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/engine.cpp b/engine/engine.cpp
index 6d4a019..eccf495 100644
--- a/engine/engine.cpp
+++ b/engine/engine.cpp
@@ -69,7 +69,7 @@ void Engine::update() {
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- glBindTexture(GL_TEXTURE_2D, background->tex());
+ background->bind();
glBegin(GL_QUADS);
glTexCoord2f(0, 1);
glVertex2f(-1.9/9.0, 0);