mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-24 05:19:35 -05:00
VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methods
Also allows the work previously done in Prepare to return a failure status.
This commit is contained in:
@@ -26,15 +26,6 @@ SWRenderer::SWRenderer()
|
||||
{
|
||||
}
|
||||
|
||||
void SWRenderer::Init()
|
||||
{
|
||||
}
|
||||
|
||||
void SWRenderer::Shutdown()
|
||||
{
|
||||
UpdateActiveConfig();
|
||||
}
|
||||
|
||||
std::unique_ptr<AbstractTexture> SWRenderer::CreateTexture(const TextureConfig& config)
|
||||
{
|
||||
return std::make_unique<SW::SWTexture>(config);
|
||||
|
||||
Reference in New Issue
Block a user