luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GlControl swallows exceptions in OnContextCreated

matyasforian opened this issue · comments

Hi

I'm trying to use your excellent library but are having some difficulties setting it up. But I cant seem to catch the exception because of a catch-all block here:

(in OnContextCreated()). Would it be possible to remove this try-catch (or make it optional, I cant properly override OnContextCreated since _ContextCreated is private), I want to handle these errors myself.

Thanks