Device: Deprecated GetDefaultQueue in favor of ::GetQueue()
Bug: dawn:22
Change-Id: I103ea933ca5b93f20d8bf11c6671bd9f603d8ff3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/40061
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/examples/CubeReflection.cpp b/examples/CubeReflection.cpp
index eab5071..34691bf 100644
--- a/examples/CubeReflection.cpp
+++ b/examples/CubeReflection.cpp
@@ -94,7 +94,7 @@
void init() {
device = CreateCppDawnDevice();
- queue = device.GetDefaultQueue();
+ queue = device.GetQueue();
swapchain = GetSwapChain(device);
swapchain.Configure(GetPreferredSwapChainTextureFormat(), wgpu::TextureUsage::RenderAttachment,
640, 480);