Able to create a window in windowed or fullscreen mode with no issue but if I try to port an example of creating then destroying a window to toggle fullscreen getting System.AccessViolationExceptions. I would think the call to Glfw.MakeContextCurrent(window); on the new window would 'fix up' the context to take the GL calls. I'm doing a call to Glfw.PollEvents(); where the toggle should be happening well before the GL.Clear/SwapBuffers calls for that frame. Any ideas on proper toggling of window mode in Pencil?
Able to create a window in windowed or fullscreen mode with no issue but if I try to port an example of creating then destroying a window to toggle fullscreen getting
System.AccessViolationExceptions. I would think the call toGlfw.MakeContextCurrent(window);on the new window would 'fix up' the context to take the GL calls. I'm doing a call toGlfw.PollEvents();where the toggle should be happening well before theGL.Clear/SwapBufferscalls for that frame. Any ideas on proper toggling of window mode in Pencil?