use log::warn instead

This commit is contained in:
Junkui Zhang 2025-07-31 00:58:23 +08:00
parent 34e433ad90
commit b8f85be372

View file

@ -980,7 +980,7 @@ fn get_dxgi_factory() -> Result<IDXGIFactory6> {
{
DXGI_CREATE_FACTORY_DEBUG
} else {
log::error!(
log::warn!(
"Failed to get DXGI debug interface. DirectX debugging features will be disabled."
);
DXGI_CREATE_FACTORY_FLAGS::default()