aboutsummaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/draw.c b/draw.c
new file mode 100644
index 0000000..0dfa09c
--- /dev/null
+++ b/draw.c
@@ -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);
+}