PDA

View Full Version : void glLineWidthx(GLfixed width) implementation on GLES



sukanya
10-19-2010, 02:25 AM
Hi,

I am working on Android. There i used glLineWidthx(GLfixed width), to adjust the width of the line. But unfortunately, i was not able to do it. But I was able to adjust the width of the line using void glLineWidth(GLfloat width).
Then I came to know that if I change the width from int to GLfixed explicitly by doing width<< 16. Then the above API glLineWidthx(GLfixed width) works. This means this conversion is missing in the implementation of the API in OPENGL. Please confirm whether my guess/understanding is correct.


Regards,
Sukanya