Viewports: store Viewport field in ImGuiWindow to facilitate using code accross branches + fix PVS warnings.

This commit is contained in:
ocornut
2022-03-25 12:36:52 +01:00
parent dfbe938e54
commit 3587ee492b
3 changed files with 15 additions and 3 deletions

View File

@ -65,7 +65,7 @@ Index of this file:
// Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
#define IMGUI_VERSION "1.88 WIP"
#define IMGUI_VERSION_NUM 18711
#define IMGUI_VERSION_NUM 18712
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
#define IMGUI_HAS_TABLE