Updated GLES changes due to libgdx changes