Skip to content

Commit

Permalink
adding a writable flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mycrl committed Nov 1, 2024
1 parent 0f22075 commit 3f4d366
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 3f4d366

Please sign in to comment.