seanchas116 / qtimgui

Qt (QOpenGLWidget / QOpenGLWindow) backend for ImGui
MIT License
362 stars 93 forks source link

Demo crash when using ImGui branch docking #39

Open leizh007 opened 2 years ago

leizh007 commented 2 years ago

Describe the bug Switch ImGui branch to docking branch then run demo, demo crashed, print assert meesage:

Assertion failed: (g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < ((int)(sizeof(g.IO.KeysDown) / sizeof(*(g.IO.KeysDown)))) && "io.KeyMap[] contains an out of bound value (need to be 0..511, or -1 for unmapped key)"), function ErrorCheckNewFrameSanityChecks, file imgui.cpp, line 8557.

Using master ImGui branch is ok, even I check out a new branch from docking and merge master, it also crashed, could you give me some help? Thank you.

kalluwa commented 1 year ago

any progress?

i comment these two place and then building passed, but don't know why

image

image