Results 812 comments of Andre Weissflog

I need to think about this a bit more. I was thinking that sokol_app.h should track an internal is_mouse_pos_valid flag which is set to true on the first received mouse...

I don't have a clean solution for sokol utility headers that have external dependencies. It all involves an amount of hackery that I don't want to commit too ;) First,...

PS: Another option might be to only inject the external C deps temporarily for building the bindings during the bindgen phase but then not include them in the Zig package....

Yeah spot on, the 'main vision' for the core sokol headers is to not pull in additional dependencies, but for the util headers this doesn't apply (that's also the reason...

I'll put the issue into my 'mental backlog'. At some point a cleaner solution is needed since the whole topic of including the util headers in the language bindings has...

Btw @robboito not sure if it's relevant for your use case, but at least sokol-zig exposes the C library and headers as an artifact: https://github.com/floooh/sokol-zig/blob/df7a116cfd9348d41f58e48e233b432b0b0c5a8a/build.zig#L318-L323 Those headers can be used...

Heh, nice. I wonder if we should merge this: ``` zig build examples -Dtarget=wasm32-emscripten && zig build serve -- zig-out/web -p 8000 ``` ...into an 'all-in-one-step' like this (couldn't come...

Oki thanks! It might take a few days until I get around to merging, most likely Monday.

There seems to be some chicken-egg-situation now when running `zig run serve-wasm` where the output directories don't exist yet when the web server is trying to start: ``` unable to...

Oki doki, I'll give it another whirl 'soon-ish' (not today though).