diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-06-30 23:34:00 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-06-30 23:34:00 +0200 |
commit | 13135210973ac4254b4d6cbcb45fec0a7651276c (patch) | |
tree | e25d7aacc480ff57660f800943b7541b0815c1f4 /engine/stage.cpp | |
parent | 804a080a971d4705e38ec008705f8a414bf7c798 (diff) |
Diffstat (limited to 'engine/stage.cpp')
-rw-r--r-- | engine/stage.cpp | 2 |
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); |