on macOS, always create stencil buffer by default

This commit is contained in:
Nick Fisher
2025-07-01 10:21:39 +08:00
parent 4b9c20eaa6
commit 584abd6086
4 changed files with 19 additions and 2 deletions

View File

@@ -61,5 +61,10 @@ EMSCRIPTEN_KEEPALIVE void RenderTicker_setOverlayManager(TRenderTicker *tRenderT
renderTicker->addOverlayManager(overlayManager);
}
EMSCRIPTEN_KEEPALIVE void RenderTicker_removeSwapChain(TRenderTicker *tRenderTicker, TSwapChain *tSwapChain) {
auto *renderTicker = reinterpret_cast<RenderTicker *>(tRenderTicker);
auto *swapChain = reinterpret_cast<filament::SwapChain *>(tSwapChain);
renderTicker->removeSwapChain(swapChain);
}
}