mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 11:31:39 +12:00
Add some renderer related helper functions in emulator and renderergl
This commit is contained in:
parent
df3c90109b
commit
b5b94a3526
3 changed files with 7 additions and 0 deletions
|
@ -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(); }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue