|
@@ -218,7 +218,7 @@ int main()
|
|
glClear(GL_COLOR_BUFFER_BIT);
|
|
glClear(GL_COLOR_BUFFER_BIT);
|
|
|
|
|
|
if (!program_failed) {
|
|
if (!program_failed) {
|
|
- glDrawArrays(GL_QUADS, 0, 4);
|
|
|
|
|
|
+ glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
|
|
}
|
|
}
|
|
|
|
|
|
glfwSwapBuffers(window);
|
|
glfwSwapBuffers(window);
|