mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00: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:
parent
04027a7da7
commit
d96e8c9d76
20 changed files with 58 additions and 160 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue