IMGUI leaves the scissor in a random state. This messes up the color normalization in HDR10, where the scissor needs to include the whole viewport. Restore the scissor after IMGUI is done drawing stuff.
Roboto-Medium.ttf expected in current/search directory:
https://github.com/turanszkij/WickedEngine/blob/
0a21fb5c612b161358d94c88edfe083f42006d6b/Samples/Example_ImGui_Docking/
Example_ImGui_Docking.cpp#L171
FONT_ICON_FILE_NAME_MD defined as "MaterialIcons-Regular.ttf" expected in
current/search directory:
https://github.com/turanszkij/WickedEngine/blob/
0a21fb5c612b161358d94c88edfe083f42006d6b/Samples/Example_ImGui_Docking/
Example_ImGui_Docking.cpp#L1605
without these fonts present, debug build of Example_ImGui_Docking fails
asserts:
https://github.com/turanszkij/WickedEngine/blob/
0a21fb5c612b161358d94c88edfe083f42006d6b/Samples/Example_ImGui_Docking/
ImGui/imgui_draw.cpp#L2151