From 3dbd49a307fb7f0725b9b7481445578fdf820284 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 18 Apr 2017 02:02:13 -0700 Subject: [PATCH] GB, GBA Video: Put back missing finishFrame callback --- src/gb/renderers/proxy.c | 1 + src/gba/renderers/proxy.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gb/renderers/proxy.c b/src/gb/renderers/proxy.c index 747bcca81..5f8fafb76 100644 --- a/src/gb/renderers/proxy.c +++ b/src/gb/renderers/proxy.c @@ -222,6 +222,7 @@ void GBVideoProxyRendererFinishFrame(struct GBVideoRenderer* renderer) { proxyRenderer->logger->lock(proxyRenderer->logger); proxyRenderer->logger->wait(proxyRenderer->logger); } + proxyRenderer->backend->finishFrame(proxyRenderer->backend); mVideoLoggerRendererFinishFrame(proxyRenderer->logger); mVideoLoggerRendererFlush(proxyRenderer->logger); if (proxyRenderer->logger->block && proxyRenderer->logger->wait) { diff --git a/src/gba/renderers/proxy.c b/src/gba/renderers/proxy.c index ef9493379..563f81234 100644 --- a/src/gba/renderers/proxy.c +++ b/src/gba/renderers/proxy.c @@ -238,6 +238,7 @@ void GBAVideoProxyRendererFinishFrame(struct GBAVideoRenderer* renderer) { proxyRenderer->logger->lock(proxyRenderer->logger); proxyRenderer->logger->wait(proxyRenderer->logger); } + proxyRenderer->backend->finishFrame(proxyRenderer->backend); mVideoLoggerRendererFinishFrame(proxyRenderer->logger); mVideoLoggerRendererFlush(proxyRenderer->logger); if (proxyRenderer->logger->block && proxyRenderer->logger->wait) {