Fix examples running with the wire.
The SampleUtils uses CreateSwapChain with a nullptr surface. This is currently valid with implementation-based swapchains so the argument should be tagged as optional. Bug: dawn:269 Change-Id: Ic00d5a67fb038d2771174bb36f99b66b84f1a252 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15680 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
2dd9ed0776
commit
43a0a815b8
Loading…
Reference in New Issue