aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-17 18:54:43 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-17 18:54:43 +0200
commit397bc9e3614fb33c11e99cd9e68a2d613af2b34b (patch)
treee5c98f259b37cc88d112d1a1d39f5bd49166e435 /main.c
parentb26c977ff0292c81c29ff007b171c9727e620cb4 (diff)
move glUseProgram out of draw loop
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index 00f5723..705c35f 100644
--- a/main.c
+++ b/main.c
@@ -79,8 +79,6 @@ int main(int argc, char** argv) {
glfwPollEvents();
update_uniform();
-
- glUseProgram(shader);
glDrawArrays(GL_TRIANGLES, 0, 3);
glfwSwapBuffers(window);