Refresh API update
parent
d582bfe473
commit
2387a03e1d
|
@ -160,7 +160,7 @@ class BasicComputeExample : Example
|
||||||
cmdbuf.EndCopyPass(copyPass);
|
cmdbuf.EndCopyPass(copyPass);
|
||||||
|
|
||||||
var fence = GraphicsDevice.SubmitAndAcquireFence(cmdbuf);
|
var fence = GraphicsDevice.SubmitAndAcquireFence(cmdbuf);
|
||||||
GraphicsDevice.WaitForFences(fence);
|
GraphicsDevice.WaitForFence(fence);
|
||||||
GraphicsDevice.ReleaseFence(fence);
|
GraphicsDevice.ReleaseFence(fence);
|
||||||
|
|
||||||
// Print the squares!
|
// Print the squares!
|
||||||
|
|
Loading…
Reference in New Issue