summaryrefslogtreecommitdiff
path: root/engine/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/player.cpp')
-rw-r--r--engine/player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/player.cpp b/engine/player.cpp
index 7d2ac08..c9a4ee2 100644
--- a/engine/player.cpp
+++ b/engine/player.cpp
@@ -23,7 +23,7 @@ void Player::draw() {
glColor4f(1, 1, 1, 1);
glEnable(GL_TEXTURE_2D);
- glBindTexture(GL_TEXTURE_2D, texture->tex());
+ texture->bind();
glBegin(GL_POINTS);
glVertex2f(x, y);