0

I have troubles with OpenGL textures on Motorola Milestone with 2.1 firmware. Each call to glGenTextures fails with error GL_INVALID_OPERATION and sets the id with random numbers. The exact same application works on G1 without any error.

Does anybody have a hands-on experience with a similar issue and knows a way around?

ognian
  • 11,451
  • 4
  • 35
  • 33

1 Answers1

1

Resolved: the GL error was actually on glTexImage2d, because I was using 3 for internalFormat and GL_RGB for format. After setting both to GL_RGB errors went away

ognian
  • 11,451
  • 4
  • 35
  • 33
  • Yes, I was mislead because glGenTextures returned random big numbers for ID, not the expected 1, 2, 3... I was tired when asking, and produced a stupid question – ognian Jul 01 '10 at 12:19