mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +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
@@ -56,7 +56,7 @@ dawn::Device ValidationTest::CreateDeviceFromAdapter(
|
||||
deviceToTest = dawn::Device::Acquire(adapterToTest.CreateDevice(&descriptor));
|
||||
}
|
||||
|
||||
deviceToTest.SetErrorCallback(ValidationTest::OnDeviceError, this);
|
||||
deviceToTest.SetUncapturedErrorCallback(ValidationTest::OnDeviceError, this);
|
||||
return deviceToTest;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user