Open kalmard0 opened 5 days ago
I dislike this approach, but understand what's the problem...
Also bgfx doesn't use #ifdef/#ifndef rather uses defines that are set to 0 or 1.
I dislike this approach, but understand what's the problem...
Also bgfx doesn't use #ifdef/#ifndef rather uses defines that are set to 0 or 1.
Any suggestions on how to implement this nicely?
Any suggestions on how to implement this nicely?
Not really right now. I would have to look at it to refresh my memory why it's done like that.
This is useful for projects that want to use bgfx's imgui layer but supply their own STB implementation that would otherwise conflict with this one (due to them being global C functions).