mirror of https://github.com/snes9xgit/snes9x.git
Mac: Wait for metal command buffer to finish before presenting drawable, properly this time
This commit is contained in:
parent
2956be7559
commit
55d50c7fbd
|
@ -369,10 +369,12 @@ static void S9xPutImageMetal (int width, int height, uint16 *buffer16)
|
|||
|
||||
[renderEncoder endEncoding];
|
||||
|
||||
[commandBuffer presentDrawable:drawable];
|
||||
}
|
||||
[commandBuffer commit];
|
||||
|
||||
[commandBuffer commit];
|
||||
[commandBuffer waitUntilCompleted];
|
||||
|
||||
[drawable present];
|
||||
}
|
||||
}
|
||||
|
||||
void S9xTextMode (void)
|
||||
|
|
Loading…
Reference in New Issue