wgpu: fix Android build error

This commit is contained in:
Andy Hovingh
2025-08-08 15:17:10 -05:00
parent 7cacef9509
commit 4beda6feee

View File

@@ -256,7 +256,7 @@ template<typename WebGPUPrintable>
|| FWGPU_ENABLED(FWGPU_DEBUG_UPDATE_IMAGE) \
|| FWGPU_ENABLED(FWGPU_DEBUG_BLIT) \
|| FWGPU_ENABLED(FWGPU_DEBUG_BIND_GROUPS)
[[nodiscard]] std::string webGPUTextureToString(wgpu::Texture const& texture) {
[[nodiscard]] inline std::string webGPUTextureToString(wgpu::Texture const& texture) {
if (texture == nullptr) {
return "nullptr (no wgpu::Texture)";
}
@@ -411,7 +411,7 @@ template<typename WebGPUPrintable>
}
}
[[nodiscard]] std::string filamentTextureUsageFlagsToString(const TextureUsage flags) {
[[nodiscard]] inline std::string filamentTextureUsageFlagsToString(const TextureUsage flags) {
if (flags == TextureUsage::NONE) {
return "NONE";
}