diff --git a/src/frame.rs b/src/frame.rs index ee5d9e7..6978ad0 100644 --- a/src/frame.rs +++ b/src/frame.rs @@ -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, };