amerkoleci / Vortice.Windows

.NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.
MIT License
1.01k stars 73 forks source link

Seems not allow `D3D11CreateDevice` with empty `FeatureLevel` array? #428

Closed GF-Huang closed 8 months ago

GF-Huang commented 8 months ago

image

amerkoleci commented 8 months ago

You can pass null instead of empty array

GF-Huang commented 8 months ago

But the param has no ?, which means not nullable.

amerkoleci commented 8 months ago

This has been fixed with latest version