Searched refs:primTypeGL (Results 1 – 1 of 1) sorted by relevance
509 GLenum primTypeGL; in draw() local513 case PRIMITIVE_POINTS: primTypeGL = GL_POINTS; break; in draw()514 case PRIMITIVE_LINE_STRIP: primTypeGL = GL_LINE_STRIP; break; in draw()515 case PRIMITIVE_LINE_LOOP: primTypeGL = GL_LINE_LOOP; break; in draw()516 case PRIMITIVE_LINES: primTypeGL = GL_LINES; break; in draw()517 case PRIMITIVE_TRIANGLE_STRIP: primTypeGL = GL_TRIANGLE_STRIP; break; in draw()518 case PRIMITIVE_TRIANGLE_FAN: primTypeGL = GL_TRIANGLE_FAN; break; in draw()519 case PRIMITIVE_TRIANGLES: primTypeGL = GL_TRIANGLES; break; in draw()522 primTypeGL = 0; in draw()545 glDrawElements(primTypeGL, (GLsizei)count, indexTypeGL, (GLvoid*)getIndexPtr(startNdx)); in draw()[all …]