Andre Weissflog
Andre Weissflog
Hmm... without using the sokol-shdc compiler that's most likely not possible in the GL backend. You would need to convert the struct array into a plain vec4 array. With the...
Hmm, at first glance this change is a bit too radical for my liking. Do you know if MAIN_THREAD_EM_ASM intoduces overhead if the C side is already running on the...
The sokol headers are using Emscripten specific functions and features (for instance the EM_JS macro to embed Javascript functions into C source code). In Zig I was able to compile...
Quick and dirty ```build_clibs_wasm.sh``` (see https://github.com/floooh/sokol-odin/blob/main/build_clibs_linux.sh for reference): ```bash set -e build_lib_wasm_release() { src=$1 dst=$2 backend=$3 echo $dst emcc -c -O2 -DNDEBUG -DIMPL -D$backend c/$src.c emar rcs $dst.a $src.o }...
PS: the tricky part will be the linking though... but let me know how it goes :)
FWIW (since I was summoned in a comment above): I'm completely happy with the current state of documentation (inline comments in the header, and a demo program which tests/demonstrates all...
I have a couple of nitpicks, but first, do you know if I can test the hardware keyboard support somehow with my Android phone (e.g. can I attach a USB...
> do you want me to wire up all the android specific keycodes to new sokol scan codes If it's just a handful or so and you think it's a...
Also please have a look at the 'new' errors in CI, there's some problem when compiling as C++, those JNI calls may need some `#ifdef __cplusplus` wrapper magic like I...
Oh hmm ok, that's a lot more than I was hoping. Are there any other *important* keys that would make sense to support except the Back button? I was thinking...