Migrate OpenGL specific headers to renderer_gl

This commit is contained in:
Wunkolo 2023-07-10 10:31:46 -07:00
commit 4864c51125
7 changed files with 7 additions and 14 deletions

View file

@ -433,12 +433,7 @@ bool Emulator::loadELF(std::ifstream& file) {
}
// Reset our graphics context and initialize the GPU's graphics context
void Emulator::initGraphicsContext() {
#if PANDA3DS_ENABLE_OPENGL
gl.reset(); // TODO (For when we have multiple backends): Only do this if we are using OpenGL
#endif
gpu.initGraphicsContext();
}
void Emulator::initGraphicsContext() { gpu.initGraphicsContext(); }
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
void Emulator::pollHttpServer() {