From 818f818f583881156eb279c71b1359bf2c4f3580 Mon Sep 17 00:00:00 2001 From: pryazha Date: Sun, 12 Oct 2025 15:25:23 +0500 Subject: change identation, maybe will change back, add own gl functions loading, and glx example --- example/simple.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 example/simple.c (limited to 'example/simple.c') 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); +} -- cgit v1.2.3-70-g09d2