sencercoltu / steamvr-undistort

SteamVR lens distortion adjustment utility for spherical lenses
60 stars 6 forks source link

Fix out of bounds array access when hidden area mesh is not available. #19

Closed mzltn closed 10 months ago

mzltn commented 10 months ago

If hidden area mesh is not available (is 0 length), calling SharpDX.Direct3D11.Buffer.Create results in error "Index was outside the bounds of the array".