Do anyone tried GLPaint sample application with OpenGl ES 2.0 ? I had a try an got errors with glMatrixMode(), glPointSize(), glOrthof(), glTexEnvf() methods .

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All of those errors are because the code uses functions and constants that were removed in OpenGL ES 2.0. If you want to make that app use OpenGL ES 2.0, you will have to replace those calls with code that uses OpenGL ES 2.0 functions only.
There are significant differences between OpenGL ES 1.1 and OpenGL ES 2.0. Porting an app from 1.1 to 2.0 is not trivial. You will need to learn quite a bit about both OpenGL ES 1.1 and OpenGL ES 2.0 to port the app.
For the specific functions you mentioned:
glMatrixModeandglOrthofhave no replacements in OpenGL ES 2.0. You are expected to provide your own vector/matrix math code. If you are targeting iOS 5.0, you will want to look at theGLKMathpart of theGLKitframework.glPointSizeis replaced by thegl_PointSizevariable in the vertex shader.glTexEnvfis replaced by vertex and fragment shaders.