Change the GL_POLYGON to GL_LINE_LOOP/GL_LINES/GL_LINE_STRIP/etc. Remember a polygon should ideally be either a triangle or a quad.
確定! 回上一頁