Skip to content

Commit

Permalink
Merge pull request #74 from mycrl/main
Browse files Browse the repository at this point in the history
Lower the level to D3D_FEATURE_LEVEL_11_0
  • Loading branch information
NiiightmareXD authored Aug 8, 2024
2 parents b608717 + 62c0703 commit 65e7317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d11.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub fn create_d3d_device() -> Result<(ID3D11Device, ID3D11DeviceContext), Error>
)?;
};

if feature_level != D3D_FEATURE_LEVEL_11_1 {
if feature_level.0 < D3D_FEATURE_LEVEL_11_0.0 {
return Err(Error::FeatureLevelNotSatisfied);
}

Expand Down

0 comments on commit 65e7317

Please sign in to comment.