Disable UI overlay for triangle sample
Fixes validation layer errors Refs #876
This commit is contained in:
parent
a5022d6d5f
commit
e79634e4da
1 changed files with 2 additions and 0 deletions
|
|
@ -114,6 +114,8 @@ public:
|
|||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||
{
|
||||
title = "Vulkan Example - Basic indexed triangle";
|
||||
// To keep things simple, we don't use the UI overlay
|
||||
settings.overlay = false;
|
||||
// Setup a default look-at camera
|
||||
camera.type = Camera::CameraType::lookat;
|
||||
camera.setPosition(glm::vec3(0.0f, 0.0f, -2.5f));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue