Joel Lacour
Joel Lacour
Apparently: ```c #include int main() { double sin, cos; sincos(0.5, &sin, &cos); return 0; } ``` > sincos.c:4:5: error: call to undeclared function 'sincos'; ISO C99 and later do not...
Yes, that works. For sincos_ref, too.
I'm aware. That was the structure I had initially. But my goal is to eventually publish some parts as separate library packages. And it would be a huge productivity boost...
@sno2 Isn't that specifically about tooling? But I concur, having a direct Zig API would be very much appreciated!
Kinda figured it out. `wgpuSurfaceGetPreferredFormat` returns `bgra8unormsrgb` `wgpuSurfaceGetCapabilities` returns `bgra8unormsrgb` and `bgra8unorm` Hardcoding the surface configuration to `bgra8unorm` fixes the color issue. At least on my device. So as far...