aboutsummaryrefslogtreecommitdiffstats
path: root/src/Texture.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-01 08:20:31 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-01 08:20:31 -0500
commite02aaafad3ecef8752b538a2421c5e36fe4809c2 (patch)
tree1bcc3c138e12a6d81830b1d1ed44778e58558a69 /src/Texture.cpp
parent813f30f8d7e4db971fbb9aab429b489e884ad2e9 (diff)
Fixed gameloop timestep and updated animations
Diffstat (limited to 'src/Texture.cpp')
-rw-r--r--src/Texture.cpp2
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(){