Closed antoinecla closed 6 years ago
The OnContextCreated() and OnPaint() methods catch all exception silently (OnPaint does draw the exception). This makes debugging difficult.
OnContextCreated()
OnPaint()
Worse, exceptions can go entirely unnoticed when using a release version of OpenGL.Net.
I kindly suggest that you remove the catch all or provide a property to control this behavior!
There is still a catch all in OnContextCreated()!
Is this on purpose?
The
OnContextCreated()
andOnPaint()
methods catch all exception silently (OnPaint does draw the exception). This makes debugging difficult.Worse, exceptions can go entirely unnoticed when using a release version of OpenGL.Net.
I kindly suggest that you remove the catch all or provide a property to control this behavior!