mirror of https://github.com/mgba-emu/mgba.git
GB Video: Fix resetting proxy backend unnecessarily
This commit is contained in:
parent
0ed5973f84
commit
8358586cc6
|
@ -65,9 +65,6 @@ static void _reset(struct GBVideoProxyRenderer* proxyRenderer, enum GBModel mode
|
||||||
|
|
||||||
proxyRenderer->oamMax = 0;
|
proxyRenderer->oamMax = 0;
|
||||||
|
|
||||||
proxyRenderer->backend->deinit(proxyRenderer->backend);
|
|
||||||
proxyRenderer->backend->init(proxyRenderer->backend, model);
|
|
||||||
|
|
||||||
mVideoLoggerRendererReset(proxyRenderer->logger);
|
mVideoLoggerRendererReset(proxyRenderer->logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue