ImGui example now shows Vulkan API and driver info, ImGui+TextOverlay+ConditionalRender+gltfSceneRendering examples now support macOS retina displays
This commit is contained in:
parent
bb4281ac24
commit
d9d3e8c1fb
5 changed files with 52 additions and 19 deletions
|
|
@ -354,7 +354,7 @@ public:
|
|||
}
|
||||
ImGui::NewLine();
|
||||
|
||||
ImGui::BeginChild("InnerRegion", ImVec2(200.0f, 400.0f), false);
|
||||
ImGui::BeginChild("InnerRegion", ImVec2(200.0f * overlay->scale, 400.0f * overlay->scale), false);
|
||||
for (auto node : scene.linearNodes) {
|
||||
// Add visibility toggle checkboxes for all model nodes with a mesh
|
||||
if (node->mesh) {
|
||||
|
|
@ -370,4 +370,4 @@ public:
|
|||
|
||||
};
|
||||
|
||||
VULKAN_EXAMPLE_MAIN()
|
||||
VULKAN_EXAMPLE_MAIN()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue