Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. (#2625)

Technically not much required yet but will be by extra-keys work. fix miscleared GLFW field for consistency (no effect)
This commit is contained in:
thedmd
2018-05-02 20:42:37 +02:00
committed by ocornut
parent 4a43dcb940
commit 0cdc4a9565
3 changed files with 19 additions and 4 deletions

View File

@ -270,6 +270,7 @@ static bool ImGui_ImplGlfw_Init(GLFWwindow* window, bool install_callbacks, Glfw
// Chain GLFW callbacks: our callbacks will call the user's previously installed callbacks, if any.
bd->PrevUserCallbackWindowFocus = NULL;
bd->PrevUserCallbackCursorEnter = NULL;
bd->PrevUserCallbackMousebutton = NULL;
bd->PrevUserCallbackScroll = NULL;
bd->PrevUserCallbackKey = NULL;