From 10427c626b5c47743b4000ee5c0f3a4ddb688dc8 Mon Sep 17 00:00:00 2001
From: Sascha Willems <webmaster@saschawillems.de>
Date: Wed, 10 Nov 2021 19:04:02 +0100
Subject: [PATCH] Disable framework overlay for explicit ImGui sample

Fixes #902
---
 examples/imgui/main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/imgui/main.cpp b/examples/imgui/main.cpp
index 15934c88..3f5f4382 100644
--- a/examples/imgui/main.cpp
+++ b/examples/imgui/main.cpp
@@ -499,6 +499,8 @@ public:
 		camera.setPosition(glm::vec3(0.0f, 0.0f, -4.8f));
 		camera.setRotation(glm::vec3(4.5f, -380.0f, 0.0f));
 		camera.setPerspective(45.0f, (float)width / (float)height, 0.1f, 256.0f);
+		// Don't use the ImGui overlay of the base framework in this sample
+		settings.overlay = false;
 	}
 
 	~VulkanExample()
-- 
GitLab