From fc960d1f096332b30e6fa7694cf20849478d2b4d Mon Sep 17 00:00:00 2001 From: Omniscient Date: Fri, 7 Jun 2024 12:16:13 +1000 Subject: triangle verts werent const so make static instead --- examples/triangle/ex_triangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/triangle/ex_triangle.c b/examples/triangle/ex_triangle.c index d57e224..a19cbb3 100644 --- a/examples/triangle/ex_triangle.c +++ b/examples/triangle/ex_triangle.c @@ -15,7 +15,7 @@ extern core g_core; -const custom_vertex vertices[] = { +static custom_vertex vertices[] = { (custom_vertex){ .pos = vec2(-0.5, -0.5), .color = vec3(1.0, 1.0, 1.0) }, (custom_vertex){ .pos = vec2(0.5, -0.5), .color = vec3(1.0, 0.0, 0.0) }, (custom_vertex){ .pos = vec2(-0.5, 0.5), .color = vec3(0.0, 0.0, 1.0) }, -- cgit v1.2.3-70-g09d2