View Full Version : textures problem

10-06-2004, 02:30 AM

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?


10-06-2004, 12:07 PM
You must have an OpenGL context active when you call this.

10-10-2004, 02:09 AM
You are right! Thanks a lot :)