-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Description
While learning BGFX, I encountered a bug where the application freezes when calling bgfx::shutdown()
after initializing BGFX with the following settings:
init.resolution.width = vm.width;
init.resolution.height = vm.height;
init.resolution.reset = BGFX_RESET_VSYNC | BGFX_RESET_MSAA_X8;
init.type = bgfx::RendererType::Direct3D12;
init.vendorId = BGFX_PCI_ID_INTEL;
The application stops responding, and the output debugger shows the following message:
Expected Behavior
The application should exit cleanly after freeing all allocated resources.
Steps to Reproduce
- Initialize BGFX with the settings above.
- Call bgfx::init(init) to initialize.
- Run the application and then call bgfx::shutdown() to clean up.
- Observe that the application freezes or gets stuck.
Environment
- OS: Windows 11
- GPU: Intel Integrated Graphics, Intel UHD
Additional Context
- I tested the same code with other renderer types (
bgfx::RendererType::OpenGL
,bgfx::RendererType::Direct3D11
), and they exited fine. - Testing on another GPU (NVIDIA RTX) with
RendererType::Direct3D12
also worked without issues.
Metadata
Metadata
Assignees
Labels
No labels