Skip to content
Snippets Groups Projects
Commit bbac5ca4 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,7 @@ bool frameDisplayed = false;
[commandEncoder endEncoding];
[commandBuffer presentDrawable:drawable];
[commandBuffer commit];
[self draw];
}
-(simd::float4x4) getScalingMatrix:(CGFloat) ratio axis:(char) axis {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment