gl: fix draw mode
gl: uniform GL and GL ES2 code