I don't think these methods are supported in the Maemo OpenGLES implementation so you will have to modify the code to use what is available.