glLineWidth(0) set glError to GL_INVALID_VALUE

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.

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?

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.