mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 18:56:30 +01:00
- upload_buffer and request_read check the device before returning a recorded error other than a loss, so a device destroyed while its loss callback is deferred reports GpuFault::DeviceLost. An out-of-memory error still takes precedence over a validation error on a valid device. - craft_gpu_device::native_descriptor includes OpenGL on Windows when it is the only compiled native backend, and craft-gpu-wgpu uses that descriptor.