Closed Endode closed 11 months ago
Changes: src/main.c
Move the bg variable to above the while (!quit) loop since it was running hex_to_vec4f() every frame. The bg color doesn't change, so there is no need for it to be in the loop. It can just be computed once, before the loop
Changes: src/main.c
Move the bg variable to above the while (!quit) loop since it was running hex_to_vec4f() every frame. The bg color doesn't change, so there is no need for it to be in the loop. It can just be computed once, before the loop