Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples: Add Win32 Vulkan example. #8180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jristic
Copy link

@jristic jristic commented Nov 23, 2024

I'm not sure if you'd want to maintain a Win32/Vulkan example since I expect the SDL3 one is sufficient for most people, but I put together one for my own sake and I figured I may as well share in case you do. I basically took the Win32/DX12 example, removed the DX12 code and then added the Vulkan code from the SDL3/Vulkan example. Really the only new code I wrote was the extensions for surface creation:

ImVector<const char*> extensions;
extensions.push_back("VK_KHR_surface");
extensions.push_back("VK_KHR_win32_surface");
SetupVulkan(extensions);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants