When setting the ProjectionMode in the OnLoad() override of a WinForms application you may get a System.AccessViolationException if the renderer is OpenGL and WorkSpace.AskForAntiAliasing is true.
Unfortunately, this is a bug in the graphics driver, Intel will fix it but only for 11th Gen and onwards Intel Processor Graphics since they discontinued support for older generations as described here.
If the PC has dual graphics cards is possible to force the use of the other adapter. If not, the only workaround is to move the ProjectionMode setting in the Form constructor instead of the OnLoad() override.
Comments
Please sign in to leave a comment.