mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 05:27:49 +00:00
Rename SetErrorCallback to SetUncapturedErrorCallback
This is to better match the naming of the uncapturederror event in WebGPU. Bug: dawn:153 Change-Id: Ic2bc1f46bf3d1f0d14cbd5cb8ea6e54d1679f987 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10542 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
cb0cb658d4
commit
45ea7e66bf
@@ -161,7 +161,7 @@ dawn::Device CreateCppDawnDevice() {
|
||||
}
|
||||
|
||||
dawnSetProcs(&procs);
|
||||
procs.deviceSetErrorCallback(cDevice, PrintDeviceError, nullptr);
|
||||
procs.deviceSetUncapturedErrorCallback(cDevice, PrintDeviceError, nullptr);
|
||||
return dawn::Device::Acquire(cDevice);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user