-
-
Save DylanLukes/d80d3aeaca392f571bcee162af4b41a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
// .... | |
vkmol::Engine Engine( | |
"VkMOL Demo", VK_MAKE_VERSION(1, 0, 0), | |
RequiredExtensions, | |
ValidationLayers, | |
[&](const vk::Instance &Instance) { | |
VkSurfaceKHR Surf; | |
auto Result = glfwCreateWindowSurface(Instance, Window, nullptr, &Surf); | |
return vkmol::SurfaceFactoryResult(vk::Result(Result), Surf); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment