Converting example1 (glestest) to use GLES.
Converting the lib platfrom specific to use GLES