mirror of https://github.com/mgba-emu/mgba.git
GB, GBA Video: Put back missing finishFrame callback
This commit is contained in:
parent
d4deaf6292
commit
3dbd49a307
|
@ -222,6 +222,7 @@ void GBVideoProxyRendererFinishFrame(struct GBVideoRenderer* renderer) {
|
||||||
proxyRenderer->logger->lock(proxyRenderer->logger);
|
proxyRenderer->logger->lock(proxyRenderer->logger);
|
||||||
proxyRenderer->logger->wait(proxyRenderer->logger);
|
proxyRenderer->logger->wait(proxyRenderer->logger);
|
||||||
}
|
}
|
||||||
|
proxyRenderer->backend->finishFrame(proxyRenderer->backend);
|
||||||
mVideoLoggerRendererFinishFrame(proxyRenderer->logger);
|
mVideoLoggerRendererFinishFrame(proxyRenderer->logger);
|
||||||
mVideoLoggerRendererFlush(proxyRenderer->logger);
|
mVideoLoggerRendererFlush(proxyRenderer->logger);
|
||||||
if (proxyRenderer->logger->block && proxyRenderer->logger->wait) {
|
if (proxyRenderer->logger->block && proxyRenderer->logger->wait) {
|
||||||
|
|
|
@ -238,6 +238,7 @@ void GBAVideoProxyRendererFinishFrame(struct GBAVideoRenderer* renderer) {
|
||||||
proxyRenderer->logger->lock(proxyRenderer->logger);
|
proxyRenderer->logger->lock(proxyRenderer->logger);
|
||||||
proxyRenderer->logger->wait(proxyRenderer->logger);
|
proxyRenderer->logger->wait(proxyRenderer->logger);
|
||||||
}
|
}
|
||||||
|
proxyRenderer->backend->finishFrame(proxyRenderer->backend);
|
||||||
mVideoLoggerRendererFinishFrame(proxyRenderer->logger);
|
mVideoLoggerRendererFinishFrame(proxyRenderer->logger);
|
||||||
mVideoLoggerRendererFlush(proxyRenderer->logger);
|
mVideoLoggerRendererFlush(proxyRenderer->logger);
|
||||||
if (proxyRenderer->logger->block && proxyRenderer->logger->wait) {
|
if (proxyRenderer->logger->block && proxyRenderer->logger->wait) {
|
||||||
|
|
Loading…
Reference in New Issue