Skip to content

Commit

Permalink
Merge pull request #94 from mycrl/main
Browse files Browse the repository at this point in the history
bug fix: Add CPU write access flag
  • Loading branch information
NiiightmareXD authored Nov 1, 2024
2 parents 0f22075 + 3f4d366 commit 459ff17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl<'a> Frame<'a> {
},
Usage: D3D11_USAGE_STAGING,
BindFlags: 0,
CPUAccessFlags: D3D11_CPU_ACCESS_READ.0 as u32,
CPUAccessFlags: D3D11_CPU_ACCESS_READ.0 as u32 | D3D11_CPU_ACCESS_WRITE.0 as u32,
MiscFlags: 0,
};

Expand Down

0 comments on commit 459ff17

Please sign in to comment.