Skip to content

Exception occurred when i closing the Win32 window. 'wglChoosePixelFormatARB failed: error -1073283066' #86

Description

@GodZza

the exception message:

Exception has occurred: CLR/System.Exception
“System.Exception”类型的未经处理的异常在 ImGui.dll 中发生 : 'wglChoosePixelFormatARB failed: error -1073283066'
   在 ImGui.OSImplementation.Windows.Win32OpenGLRenderer.SetRenderingWindow(IWindow window)
   在 ImGui.Application.Render()
   在 ImGui.Application.<>c__DisplayClass20_0.<Run>b__0()
   在 ImGui.OSImplementation.Windows.Win32Window.MainLoop(Action guiMethod)
   在 ImGui.Form.MainLoop(Action loopMethod)
   在 ImGui.Application.Run(Form mainForm, Action onGUI)
   在 YourApp.Program.Main() 在 

on windows platform.
it occurred when i closing the Win32 Window.
maybe the HDC handle was be NULL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions