textures problem


Im having a weird problem. For som reason, when I call glGenTextures (ex: glGenTextures(1,&id)) the id var comes out unaltered. The exact same loading and opengl initializing code, on another project, works as it should. I have no idea why this is happening on that particular project. Any idea?


You must have an OpenGL context active when you call this.

You are right! Thanks a lot :slight_smile: