Claudio6969 / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 1 forks source link

BlendStateDescription.GetHashCode() throws nullexception #690

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using SlimDX February 2010; this code throws an exception:

var d = new SlimDX.Direct3D10.BlendStateDescription();
d.GetHashCode();

Original issue reported on code.google.com by lidg...@gmail.com on 20 Jun 2010 at 10:22

GoogleCodeExporter commented 9 years ago

Original comment by josh.petrie on 20 Jun 2010 at 6:54

GoogleCodeExporter commented 9 years ago
Missing a call to ConstructLazyProperties() before computing the hash code (or 
checking for equality, for that matter).

Original comment by josh.petrie on 20 Jun 2010 at 6:56