Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actual__SKYe

Posted 27 February 2013 - 12:12 PM

Looking at the Initialize method on that website, there are two ways that the method could fail.

Either failing to create the vertex/index buffer objects, which i don't think there's any problem with, or by failing to load the TGA image.

 

You could check the return value between those two function calls, to see which is causing the error.

Also, as Shogun said, did you make sure that the files you're trying to load exist in the correct folder (the TGA file, and perhaps also the shader files)?


#1__SKYe

Posted 27 February 2013 - 12:12 PM

Looking at the Initialize method on that website, there are two ways that the method could fail.

Either failing to create the vertex/index buffer objects, which i don't think there's any problem with, or by failing to load the TGA image.

 

You could check the return value between those two function calls, to see which is causing the error.

Also, did you make sure that the files you're trying to load exist in the correct folder?


PARTNERS