PDA

View Full Version : glLineWidth(0) set glError to GL_INVALID_VALUE



Tryumk
02-12-2010, 03:17 AM
whereas in the OpenGL ES 2.0 Reference Pages, it is said "GL_INVALID_VALUE is generated if width is less than or equal to 0."

I'm using an omap3 with the lastest TI drivers.

Xmas
02-15-2010, 07:41 AM
If "glLineWidth(0) set glError to GL_INVALID_VALUE", and the man pages say "GL_INVALID_VALUE is generated if width is less than or equal to 0", where is the problem?

Tryumk
02-15-2010, 09:17 AM
The problem is I must have been tired when I read the manual.

Also, I didn't have the problem while using the emulator, so I made a quick conclusion when testing on real hardware.