Some GLES2 fixes.