gfx-rs / wgpu-native

Native WebGPU implementation based on wgpu-core
Apache License 2.0
882 stars 105 forks source link

desiredMaximumFrameLatency seems to have wrong type in header #401

Closed dominikh closed 2 months ago

dominikh commented 3 months ago

WGPUBool doesn't feel like the right type for a numeric value.

typedef struct WGPUSurfaceConfigurationExtras {
    WGPUChainedStruct chain;
    WGPUBool desiredMaximumFrameLatency;
} WGPUSurfaceConfigurationExtras WGPU_STRUCTURE_ATTRIBUTE;
rajveermalviya commented 3 months ago

Thanks for filing it, created #403 fixing it.