I’m learning opengl by gfx-rs. but when I want to display a triangle by line mode., I cannot find a function to realize it.
Here has a function called “glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);” in C++ can.
like this: