Skip to content

Commit

Permalink
-A little re-arranging of windows and tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
maluoi committed Jun 25, 2021
1 parent 4af380b commit 313a922
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/openxrexplorer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ void app_step(ImVec2 canvas_size) {
ImGuiID dock_id_left;
ImGuiID dock_id_mid;
ImGuiID dock_id_right;
ImGuiID dock_id_left_bot;
ImGuiID dock_id_right_bot;
ImGui::DockBuilderSplitNode(dockspace_id, ImGuiDir_Left, 0.33f, &dock_id_left, &dock_id_right);
ImGui::DockBuilderSplitNode(dock_id_right, ImGuiDir_Left, 0.5f, &dock_id_mid, &dock_id_right);
ImGui::DockBuilderSplitNode(dock_id_left, ImGuiDir_Down, 0.33f, &dock_id_left_bot, &dock_id_left);
ImGui::DockBuilderSplitNode(dock_id_right, ImGuiDir_Down, 0.5f, &dock_id_right_bot, &dock_id_right);

ImGui::DockBuilderDockWindow("Runtime Information", dock_id_left);
ImGui::DockBuilderDockWindow("Misc Enumerations", dock_id_left_bot);
ImGui::DockBuilderDockWindow("Misc Enumerations", dock_id_right_bot);
ImGui::DockBuilderDockWindow("Extensions & Layers", dock_id_mid);
ImGui::DockBuilderDockWindow("View Configuration", dock_id_right);
ImGui::DockBuilderFinish(dockspace_id);
Expand Down
4 changes: 2 additions & 2 deletions src/openxrexplorer/openxr_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ void openxr_register_enums() {
info.source_type_name = "skg_tex_fmt_";
info.spec_link = "xrEnumerateSwapchainFormats";
info.requires_session = true;
info.tag = display_tag_view;
info.tag = display_tag_misc;
info.load_info = [](xr_enum_info_t *ref_info, xr_settings_t settings) {
uint32_t count = 0;
XrResult error = xrEnumerateSwapchainFormats(xr_session, 0, &count, nullptr);
Expand Down Expand Up @@ -662,7 +662,7 @@ void openxr_register_enums() {
info.source_type_name = "XrColorSpaceFB";
info.spec_link = "XrColorSpaceFB";
info.requires_session = true;
info.tag = display_tag_view;
info.tag = display_tag_misc;
info.load_info = [](xr_enum_info_t *ref_info, xr_settings_t settings) {
PFN_xrEnumerateColorSpacesFB xrEnumerateColorSpacesFB;
XrResult error = xrGetInstanceProcAddr(xr_instance, "xrEnumerateColorSpacesFB", (PFN_xrVoidFunction *)(&xrEnumerateColorSpacesFB));
Expand Down

0 comments on commit 313a922

Please sign in to comment.