summaryrefslogtreecommitdiff
path: root/engine/enemy.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-06-30 23:34:00 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-06-30 23:34:00 +0200
commit13135210973ac4254b4d6cbcb45fec0a7651276c (patch)
treee25d7aacc480ff57660f800943b7541b0815c1f4 /engine/enemy.cpp
parent804a080a971d4705e38ec008705f8a414bf7c798 (diff)
Use new Texture-API.HEADmaster
Diffstat (limited to 'engine/enemy.cpp')
-rw-r--r--engine/enemy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/enemy.cpp b/engine/enemy.cpp
index 87e9e87..383ddc7 100644
--- a/engine/enemy.cpp
+++ b/engine/enemy.cpp
@@ -18,7 +18,7 @@ void Enemy::draw() {
glColor4f(1, 1, 1, 1);
glEnable(GL_TEXTURE_2D);
- glBindTexture(GL_TEXTURE_2D, texture->tex());
+ texture->bind();
glBegin(GL_POINTS);
glVertex2f(pos.x, pos.y);