summaryrefslogtreecommitdiff
path: root/example/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/simple.c')
-rw-r--r--example/simple.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/example/simple.c b/example/simple.c
new file mode 100644
index 0000000..b53b47b
--- /dev/null
+++ b/example/simple.c
@@ -0,0 +1,16 @@
+void
+init(struct prge_context *prge_ctx)
+{
+}
+
+void
+update(struct prge_context *prge_ctx, f32 dt)
+{
+}
+
+void
+render(struct prge_context prge_ctx)
+{
+ gl_clear_color(0.18f, 0.18f, 0.18f, 1.0f);
+ gl_clear(gl_color_buffer_bit);
+}