dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
753 stars 300 forks source link

Adding Resized event to WPF Control breaks DrawText3D behaviour #149

Open adamfierek opened 6 years ago

adamfierek commented 6 years ago

When I join even empty method to Resized event, behaviour of DrawText3D method is changing. Every another value than 0.0f as Z in Translate makes text invisible. Everything else, like vertex etc. is working fine, so I think this is problem of DrawText3D