Closed kcbanner closed 6 months ago
Clever :) I actually could have needed a similar thing just a couple of days ago, but instead ended up disabling the GL loader completely and used flextGL. But this way of extending the integrated GL loader is pretty nice.
Merging this PR in sokol-zig doesn't make sense btw, because the next automatic bindings-generation would overwrite sokol_gfx.h.
Can you create a similar PR for the sokol main repository to fix the original sokol_gfx.h instead? Thanks!
Ah, right I'll move it over there, forgot what repo I was in :) https://github.com/floooh/sokol/pull/993
For example, I use this in my project to do this:
sokol_gfx_extensions_funcs.h
sokol_gfx_extensions.h