Migrate RenderType string functions to static Renderer functions

Also fix some IWYU build errors
This commit is contained in:
Wunkolo 2023-07-18 10:02:07 -07:00
parent 528ed510c2
commit 0b60cf6901
4 changed files with 13 additions and 13 deletions

View file

@ -32,7 +32,7 @@ GPU::GPU(Memory& mem, EmulatorConfig& config) : mem(mem), config(config) {
}
#endif
default: {
Helpers::panic("Rendering backend not supported: %s", toString(config.rendererType));
Helpers::panic("Rendering backend not supported: %s", Renderer::typeToString(config.rendererType));
break;
}
}