Perspective correction on Mali

Hi…

I’m trying to disable “Perspective Correction” in my implementation using “glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_FASTEST)”, but it seems like not working…

I have same image with both “glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_FASTEST)” and “glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_NICEST)”…

The image always looked like having “Perspective Correction”…

How can I disable “Perspective Correction” on “libGLESv1_CM.dll” made by ARM…

Thanks…

According to its name, glHint() does only give hint to the OpenGL ES implementation. Your implementation is free to ignore those hints.

See manual ( http://www.khronos.org/opengles/sdk/1.1 … glHint.xml ).

BTW, you could call glGetError() after glHint() calls to check for an error returned by the OpenGL ES implementation ( http://www.khronos.org/opengles/sdk/1.1 … tError.xml ).

You could also query the value associated to GL_PERSPECTIVE_CORRECTION_HINT
with glGetFixedv(GL_PERSPECTIVE_CORRECTION_HINT, &hint) ( http://www.khronos.org/opengles/sdk/1.1 … /glGet.xml ).

Regards.