Update headers
Add wgpuAdapterGetInfo to replace wgpuAdapterRequestAdapterInfo. Actually implemented this time unlike wgpuAdapterRequestAdapterInfo. And wgpuAdapterInfoFreeMembers.
wgpuDeviceSetUncapturedErrorCallback replaced in favor of field on instance descriptor
wgpuSurfaceGetPreferredFormat deleted
Add usage to WGPUSurfaceCapabilities
LGTM. Anyone know what the deal is with WGPUAdapterProperties vs WGPUAdapterInfo?
Seems like properties needs to be removed, actually: https://github.com/webgpu-native/webgpu-headers/issues/304#issuecomment-2161374820 https://github.com/webgpu-native/webgpu-headers/pull/305
CI is failing because enumerate_adapters example also needs to be updated:
https://github.com/gfx-rs/wgpu-native/actions/runs/9490406866/job/26153820533?pr=392
Thanks!