Render backends now take an explicit state pointer: github.com/karl-zylinsk...
Next up: Platform interfaces. At that point I will also add monitor queries. The monitor queries will not need any state pointer, so they can be used before window creation.
github.com
Render backend explicit state passing (#300) · karl-zylinski/karl2d@6941bd1
Just like the audio backends, the render backends now take explicit state parameters. There was some things that had to be changed to make this look OK. For example, the ch proc in d3d11 backend wa...