From e02aaafad3ecef8752b538a2421c5e36fe4809c2 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Tue, 1 Dec 2015 08:20:31 -0500 Subject: Fixed gameloop timestep and updated animations --- src/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Texture.cpp') 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(){ -- cgit v1.2.3