diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-15 15:05:07 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-15 15:05:07 +0200 |
commit | 83ed40fd01120e1b46dba5d2bac895862731196d (patch) | |
tree | a2d4e78ec97e337d8808e234d70aaccc95c53bb4 /draw.c | |
parent | 0a5c176456b7afe024910183392d59116c37088e (diff) |
separate draw loop into file
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#include "draw.h" + +void draw(GLFWwindow* window) { + glClearColor(1.f, 0.f, 1.f, 1.0f); + glClear(GL_COLOR_BUFFER_BIT); +} |