0
0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-18 17:11:23 +01:00

Backends: WebGPU: rework unsupported path into an assert. (#9155, #9156)

This commit is contained in:
ocornut
2026-01-12 12:11:10 +01:00
parent f5384544cb
commit d1c5a66557

View File

@@ -1078,7 +1078,7 @@ WGPUSurface ImGui_ImplWGPU_CreateWGPUSurfaceHelper(ImGui_ImplWGPU_CreateSurfaceI
surface = wgpuInstanceCreateSurface(info->Instance, &surface_descriptor);
}
#else
fprintf(stderr, "'CreateWGPUSurfaceHelper' is not implemented for this platform\n");
IM_ASSERT(0 && "Unsupported WebGPU native platform!");
#endif
return surface;
}