Been working on my C-Codebase.
It now has swappable backends. Just define a macro and it'll switch the underlying implementations of functions.
So for a demo, I rendered a multicolored triangle with the 3 backends I have implemented currently: OpenGL 3.3, OpenGL 4.6 and D3D11
(You won't see a difference between the 3 multicolored triangles, which is good for my codebase but bad for the demo :kekw:)
Repository: https://github.com/PixelRifts/c-codebase