Add Renderer::deinitGraphicsContext

This commit is contained in:
wheremyfoodat 2023-10-25 22:46:45 +03:00
parent 1313f46ba4
commit e900e9d614
11 changed files with 31 additions and 1 deletions

View file

@ -88,6 +88,7 @@ class GPU {
GPU(Memory& mem, EmulatorConfig& config);
void display() { renderer->display(); }
void screenshot(const std::string& name) { renderer->screenshot(name); }
void deinitGraphicsContext() { renderer->deinitGraphicsContext(); }
#if defined(PANDA3DS_FRONTEND_SDL)
void initGraphicsContext(SDL_Window* window) { renderer->initGraphicsContext(window); }