Properly delete OpenGL context on shutdown
Opened this issue · 0 comments
HiImJulien commented
When calling fn_deinit_gl_module(void)
, the framework deletes every context in the thread, that called the aforementioned function.
However, the specification for wglDeleteContext
states:
It is an error to delete an OpenGL rendering context that is the current context of another thread.
This might lead to errors.