Searched refs:primTypeGL (Results 1 – 1 of 1) sorted by relevance
524 GLenum primTypeGL; in draw() local528 case PRIMITIVE_POINTS: primTypeGL = GL_POINTS; break; in draw()529 case PRIMITIVE_LINE_STRIP: primTypeGL = GL_LINE_STRIP; break; in draw()530 case PRIMITIVE_LINE_LOOP: primTypeGL = GL_LINE_LOOP; break; in draw()531 case PRIMITIVE_LINES: primTypeGL = GL_LINES; break; in draw()532 case PRIMITIVE_TRIANGLE_STRIP: primTypeGL = GL_TRIANGLE_STRIP; break; in draw()533 case PRIMITIVE_TRIANGLE_FAN: primTypeGL = GL_TRIANGLE_FAN; break; in draw()534 case PRIMITIVE_TRIANGLES: primTypeGL = GL_TRIANGLES; break; in draw()537 primTypeGL = 0; in draw()560 glDrawElements(primTypeGL, (GLsizei)count, indexTypeGL, (GLvoid*)getIndexPtr(startNdx)); in draw()[all …]