floooh / sokol

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

Need a clearer validation message when both shader source and bytecode is set... #1115

Open floooh opened 2 months ago

floooh commented 2 months ago

This problem would have been a lot less confusing with a better validation message:

https://github.com/floooh/sokol/issues/1114

There's a validation check missing which checks that either source or bytecode is provided, but not both.