jherico / VulkanExamples

Examples and demos for the Vulkan C++ API
https://github.com/KhronosGroup/Vulkan-Hpp
MIT License
339 stars 29 forks source link

fix surface construction for glfw #6

Closed peterazmanov closed 8 years ago

peterazmanov commented 8 years ago

With this fix I was able to compile and successfully run one of the examples on Arch Linux, I believe the same code should be used on WIN32 too.

jherico commented 8 years ago

I'd rather not merge this as is as I don't want to use any of the GLFW Vulkan wrapping functions. Let me take a look at the glfw source and see if I can translate this into the native calls.