Hi,
I’m currently have problems with glGenTextures always returning a value of 0. After searching a lot of the Net, I found that the most common cause for this is not having a valid rendering context. However, using some println statements, I found that I’m calling glGenTexture after having created glCanvas, showing it, and having completed the init function from my GLEventListener. If I manually assign texture numbers, everything works fine. Oh, and I made sure that glGenTexture is not behind called between a glBegin and a glEnd statement.
Any hints on what could be causing glGenTextures to always return 0.