Fixed uninitialized variable (leading to asserts in the docking branch). (#2376, #2371)

This commit is contained in:
omar 2019-02-23 17:00:59 +01:00
parent 9558e327d2
commit 6cbf4b8121

View File

@ -1037,6 +1037,8 @@ struct ImGuiContext
DragDropAcceptFrameCount = -1; DragDropAcceptFrameCount = -1;
memset(DragDropPayloadBufLocal, 0, sizeof(DragDropPayloadBufLocal)); memset(DragDropPayloadBufLocal, 0, sizeof(DragDropPayloadBufLocal));
CurrentTabBar = NULL;
ScalarAsInputTextId = 0; ScalarAsInputTextId = 0;
ColorEditOptions = ImGuiColorEditFlags__OptionsDefault; ColorEditOptions = ImGuiColorEditFlags__OptionsDefault;
DragCurrentAccumDirty = false; DragCurrentAccumDirty = false;