Fixes fancy waves rendering on GLES (replaces GL_QUADS with GL_TRIANGLES)