Sign in to follow this  
NewBreed

texture[0]==NULL ???

Recommended Posts

Hi all, I've created my own base code. However when I try to create a texture I got nothing other than a white box. Upon further checking I've found that texture[0] is NULL. I'm using NeHe's functions: AUX_RGBImageRec *LoadBMP(char *Filename) and int LoadGLTextures() But it's just not working, I've checked the obvious (file exists etc...). Anybody any ideas? Thanks, NB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this