fix: gate on static_dxc not static-dxc (#9785)

This commit is contained in:
lizelive authored and GitHub committed 2026-07-01 17:18:48 +00:00
1 parent 979ab2bca6
commit 0853e7bdc1
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ impl crate::Instance for super::Instance {
crate::InstanceError::with_source(String::from("Failed to load FXC"), e)
})?,
wgt::Dx12Compiler::Auto => {
if cfg!(feature = "static-dxc") {
if cfg!(static_dxc) {
// Prefer static DXC if its compiled in
CompilerContainer::new_static_dxc().map_err(|e| {
crate::InstanceError::with_source(