I am encountering this error when trying to start the application:
OpenTK.Graphics.GraphicsContextException: [EGL] Failed to create window surface, error BAD_NATIVE_WINDOW.
at OpenTK.Platform.Egl.EglWindowInfo.CreateWindowSurface(IntPtr config)
at OpenTK.Platform.Egl.EglContext..ctor(GraphicsMode mode, EglWindowInfo window, IGraphicsContext sharedContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
at OpenTK.Platform.Egl.EglAnglePlatformFactory.CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags)
at OpenTK.Graphics.GraphicsContext..ctor(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
at #=z0IN6pU_55uudmDShowKV9CmtDm6s.#=zwxPGOJw=(Int32 #=zzkUr_GM=, Int32 #=zj50PS34=, GraphicsContextFlags #=zEI3TImg=)
at #=zu4fIM7i5d2zK3OeYZ6db9xg=.OnHandleCreated(EventArgs #=zvFmhdr4=)
at #=zWfvxL3bozZRF5baFS5vYoP5icjbc.OnHandleCreated(EventArgs #=zvFmhdr4=)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmCreate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at #=z4LpiQHMXU42CCSRJIQwXyNQ=.WndProc(Message& #=zJYmLj28=)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
There's also an error message popping up in the beginning:
Can't Find the Name of Intel ICD OpenGL driver.
I have Intel(R) HD Graphics 350 and NVIDIA GeForce GTX950M.
I have the .net framework 3.5 and 4.7 installed.
I run a windows 10 Home Single Language 64-bit Operating System.
Appreciate your help. Thank you.
OpenTK.Graphics.GraphicsContextException: [EGL] Failed to create window surface, error BAD_NATIVE_WINDOW.
at OpenTK.Platform.Egl.EglWindowInfo.CreateWindowSurface(IntPtr config)
at OpenTK.Platform.Egl.EglContext..ctor(GraphicsMode mode, EglWindowInfo window, IGraphicsContext sharedContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
at OpenTK.Platform.Egl.EglAnglePlatformFactory.CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags)
at OpenTK.Graphics.GraphicsContext..ctor(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
at #=z0IN6pU_55uudmDShowKV9CmtDm6s.#=zwxPGOJw=(Int32 #=zzkUr_GM=, Int32 #=zj50PS34=, GraphicsContextFlags #=zEI3TImg=)
at #=zu4fIM7i5d2zK3OeYZ6db9xg=.OnHandleCreated(EventArgs #=zvFmhdr4=)
at #=zWfvxL3bozZRF5baFS5vYoP5icjbc.OnHandleCreated(EventArgs #=zvFmhdr4=)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmCreate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at #=z4LpiQHMXU42CCSRJIQwXyNQ=.WndProc(Message& #=zJYmLj28=)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
There's also an error message popping up in the beginning:
Can't Find the Name of Intel ICD OpenGL driver.
I have Intel(R) HD Graphics 350 and NVIDIA GeForce GTX950M.
I have the .net framework 3.5 and 4.7 installed.
I run a windows 10 Home Single Language 64-bit Operating System.
Appreciate your help. Thank you.