Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 20 May 2012
Offline Last Active May 29 2012 06:03 PM

Posts I've Made

In Topic: Objects only appearing white in OpenGL?

20 May 2012 - 12:50 PM

Problem solved.

When I was just about to give up on finding the error for now, I found out it had issues with the glGenTextures() command, it won't work for my version of the tutorials' project seeing as he passes as parameter to the section glGenTextures() is in, causing it to create 3 different textures stored in texture[0], texture[1], and texture[2]. Mine doesn't pass any of those parameters, but instead only stores "Crate.bmp" into textures[0], so when it's overwritten by glGenTextures(), it's overwritten with a blank mesh. Bit of an obscure error, but at least I fixed it.