sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.7k stars 639 forks source link

fix initialization of local blockAlign with default values. #793

Closed nkast closed 8 years ago

nkast commented 8 years ago

Set default values to local blockAlign before assigning the value to the member field this.blockAlign. Check blockAlign for invalid values and that it can be cast to short/Int16.

fix #791

xoofx commented 8 years ago

Thanks!