mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-05 13:35:09 +00:00
Changed comment reference to emwgpudawn
an EMSCRIPTEN WGPU binding maintained by Google
This commit is contained in:
parent
d60af09d1e
commit
8becaa3954
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,7 @@ WGPUSurface SDL_getWGPUSurface(WGPUInstance instance, SDL_Window* window)
|
|||
WGPUSurfaceDescriptorFromCanvasHTMLSelector surfaceSourceDesc = { chainedStruct, "canvas" };
|
||||
surfaceDescriptor.nextInChain = &surfaceSourceDesc.chain;
|
||||
/*
|
||||
// NEW in DAWN but not used in EMSCRIPTEN (yet)
|
||||
// not used in EMSCRIPTEN (yet), but in DAWN EMSCRIPTEN fork emdawnwebgpu: https://dawn.googlesource.com/dawn/+/refs/heads/main/src/emdawnwebgpu/
|
||||
chainedStruct.sType = WGPUSType_EmscriptenSurfaceSourceCanvasHTMLSelector;
|
||||
const WGPUEmscriptenSurfaceSourceCanvasHTMLSelector surfaceSourceDesc = { chainedStruct, "canvas" };
|
||||
surfaceDescriptor.nextInChain = &surfaceSourceDesc.chain;
|
||||
|
@ -89,3 +89,4 @@ WGPUSurface SDL_getWGPUSurface(WGPUInstance instance, SDL_Window* window)
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue