diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-01 08:20:31 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-01 08:20:31 -0500 |
commit | e02aaafad3ecef8752b538a2421c5e36fe4809c2 (patch) | |
tree | 1bcc3c138e12a6d81830b1d1ed44778e58558a69 /src/Texture.cpp | |
parent | 813f30f8d7e4db971fbb9aab429b489e884ad2e9 (diff) |
Fixed gameloop timestep and updated animations
Diffstat (limited to 'src/Texture.cpp')
-rw-r--r-- | src/Texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Texture.cpp b/src/Texture.cpp index d723eda..de1af14 100644 --- a/src/Texture.cpp +++ b/src/Texture.cpp @@ -75,7 +75,7 @@ Texturec::Texturec(uint amt, ...){ void Texturec::bind(unsigned int bn){ texState = bn; - glBindTexture(GL_TEXTURE_2D, image[texState]); + glBindTexture(GL_TEXTURE_2D, (unsigned int)image[(int)texState]); } void Texturec::bindNext(){ |