feat: wireframe rendering

This commit is contained in:
Cat Flynn 2023-08-02 00:56:45 +02:00
parent 68d63edef7
commit 829baa4b53
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ int main()
Triangle triangle(compileShaderProgram()); Triangle triangle(compileShaderProgram());
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
// Main loop // Main loop
while (!glfwWindowShouldClose(window)) while (!glfwWindowShouldClose(window))
{ {