pogonaengine / pogona

A cross-platform Vulkan game engine written in C11 (with GNU extensions)
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

Make the code for renderer instance creation and window instance creation VERY similar #6

Open kelvium opened 1 year ago

kelvium commented 1 year ago

It's currently NOT similar at all and even getting farther away from each other. That's bad.

kelvium commented 1 year ago

The problem is that the renderer does not need to have its instance passed into its functions. It's a singleton. But there could be multiple Windows, and trying to make the interfaces almost the same may make it even worse.