I have problems when drawing one mesh multiple times on screen, but with different colors.
When I try to change mesh color, draw it, and than change it again and draw it again not all quads change their color

Is there a proper way on how to do this?
Current source code:
Source.zip(Its currently setup for VSCode and i have jo engine on my NAS, so you need to change some paths in compile.bat and makefile to compile it)
Edit: I also have troubles with light being weird, but I'll probably figure out that eventually