Skip to content

Commit

Permalink
Workaround for issue #3 in triangle demo
Browse files Browse the repository at this point in the history
  • Loading branch information
stetre committed Jul 27, 2019
1 parent 5d58daf commit 3fed306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/triangle-demo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ function init_vulkan(demo)

-- Look for instance extensions required by GLFW
demo.instance_extensions = glfw.get_required_instance_extensions()
table.insert(demo.instance_extensions, 'VK_KHR_get_physical_device_properties2')
if demo.validate then table.insert(demo.instance_extensions, 'VK_EXT_debug_report') end

local instance_extensions = vk.enumerate_instance_extension_properties(nil, true)
Expand Down

0 comments on commit 3fed306

Please sign in to comment.