@@ -82,16 +82,16 @@ async::AsyncTaskHandle GPUAdapter::requestDevice(
8282 auto creationRuntime = getCreationRuntime ();
8383 return _async->postTask (
8484 [this , aDescriptor, descriptor, label = std::move (label),
85- deviceLostBinding, creationRuntime](
86- const async::AsyncTaskHandle::ResolveFunction &resolve,
87- const async::AsyncTaskHandle::RejectFunction &reject) {
85+ deviceLostBinding,
86+ creationRuntime]( const async::AsyncTaskHandle::ResolveFunction &resolve,
87+ const async::AsyncTaskHandle::RejectFunction &reject) {
8888 (void )descriptor;
8989 _instance.RequestDevice (
9090 &aDescriptor, wgpu::CallbackMode::AllowProcessEvents,
91- [asyncRunner = _async, resolve, reject, label,
92- creationRuntime, deviceLostBinding](
93- wgpu::RequestDeviceStatus status, wgpu::Device device,
94- wgpu::StringView message) mutable {
91+ [asyncRunner = _async, resolve, reject, label, creationRuntime,
92+ deviceLostBinding](wgpu::RequestDeviceStatus status,
93+ wgpu::Device device,
94+ wgpu::StringView message) mutable {
9595 if (message.length ) {
9696 fprintf (stderr, " %s" , message.data );
9797 }
0 commit comments