mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-15 16:16:08 +00:00
Make dawn_native public headers and dawn_wsi use webgpu.h
BUG=dawn:22 Change-Id: I112d71323c9305fa0997d251556fe0a41dafed29 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12701 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
1fdcb16b69
commit
9f90c8d3ca
@@ -26,7 +26,7 @@ DawnSwapChainImplementation CreateSwapChainImplementation(T* swapChain) {
|
||||
reinterpret_cast<T*>(userData)->Init(ctx);
|
||||
};
|
||||
impl.Destroy = [](void* userData) { delete reinterpret_cast<T*>(userData); };
|
||||
impl.Configure = [](void* userData, DawnTextureFormat format, DawnTextureUsage allowedUsage,
|
||||
impl.Configure = [](void* userData, WGPUTextureFormat format, WGPUTextureUsage allowedUsage,
|
||||
uint32_t width, uint32_t height) {
|
||||
return static_cast<T*>(userData)->Configure(format, allowedUsage, width, height);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user