floooh / sokol

minimal cross-platform standalone C headers
https://floooh.github.io/sokol-html5
zlib License
6.53k stars 468 forks source link

Adds SOKOL_NOAPI to WIN32 #1034

Closed pplux closed 2 months ago

pplux commented 2 months ago

Minimal changes to support "NO_API" on windows.

floooh commented 2 months ago

Those CI errors are unrelated. Looks like the Spine C API has changed. I'll look into it.

floooh commented 2 months ago

Ok, I pinned the spine version used in the tests to 4.1 in the master branch.

Can you rebase your PR on top of master?

The actual changes are looking good. Surprising that it's so few changes actually :)

pplux commented 2 months ago

Indeed, definitely not a revolutionizing change by any means, but very handy if you need to step out of the supported render backends (like our use case with vulkan/webgpu-native). Shoutout to @castano who actually did the work.

And sorry for the belated commit :P

floooh commented 2 months ago

Ok merged, thanks! I'll also add a small changelog blurb.