mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
dawn_wire: Make GetProcs() a static member function of WireClient
This patch makes GetProcs() a static member function of WireClient so that we can call it without creating a WireClient object. BUG=chromium:996713 Change-Id: I499be0cd2c5a5f29c796d3be88ce33c1b70711d6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14942 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
1dbb528629
commit
e6441b604f
@@ -151,7 +151,7 @@ wgpu::Device CreateCppDawnDevice() {
|
||||
|
||||
wireClient = new dawn_wire::WireClient(clientDesc);
|
||||
WGPUDevice clientDevice = wireClient->GetDevice();
|
||||
DawnProcTable clientProcs = wireClient->GetProcs();
|
||||
DawnProcTable clientProcs = dawn_wire::WireClient::GetProcs();
|
||||
s2cBuf->SetHandler(wireClient);
|
||||
|
||||
procs = clientProcs;
|
||||
|
||||
Reference in New Issue
Block a user