mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Initial new swapchains on Vulkan.
Bug: dawn:269 Change-Id: I5b7a4edfa876d5a64f8f135adb619be021e4f534 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/17966 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
875091308b
commit
47a6a94e15
@@ -96,6 +96,7 @@ wgpu::Device CreateCppDawnDevice() {
|
||||
|
||||
// Create the test window and discover adapters using it (esp. for OpenGL)
|
||||
utils::SetupGLFWWindowHintsForBackend(backendType);
|
||||
glfwWindowHint(GLFW_COCOA_RETINA_FRAMEBUFFER, GLFW_FALSE);
|
||||
window = glfwCreateWindow(640, 480, "Dawn window", nullptr, nullptr);
|
||||
if (!window) {
|
||||
return wgpu::Device();
|
||||
|
||||
Reference in New Issue
Block a user