Add some renderer related helper functions in emulator and renderergl

This commit is contained in:
offtkp 2023-10-20 02:59:53 +03:00
parent df3c90109b
commit b5b94a3526
3 changed files with 7 additions and 0 deletions

View file

@ -114,4 +114,6 @@ class Emulator {
void setOutputSize(u32 width, u32 height) { gpu.setOutputSize(width, height); }
EmulatorConfig& getConfig() { return config; }
RendererType getRendererType() const { return config.rendererType; }
Renderer* getRenderer() { return gpu.getRenderer(); }
};