Commit bbac5ca4 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

videoView: force redraw

If window closed when video running metal view redrawing will broke.
This patch force view redraw after setting a new frame.

Change-Id: I4497d2fdfe1bb89becefa1e4aeece072099d9f0a
parent c24e0f9d
......@@ -215,6 +215,7 @@ bool frameDisplayed = false;
[commandEncoder endEncoding];
[commandBuffer presentDrawable:drawable];
[commandBuffer commit];
[self draw];
}
-(simd::float4x4) getScalingMatrix:(CGFloat) ratio axis:(char) axis {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment