Make Qt work

This commit is contained in:
offtkp 2024-08-08 23:15:53 +03:00
parent 67069a8826
commit a4fcb1c4dc
7 changed files with 61 additions and 20 deletions

View file

@ -109,7 +109,7 @@ class Emulator {
#ifdef PANDA3DS_FRONTEND_QT
// For passing the GL context from Qt to the renderer
void initGraphicsContext(GL::Context* glContext) { gpu.initGraphicsContext(nullptr); }
void initGraphicsContext(GL::Context* glContext) { gpu.initGraphicsContext(glContext); }
#else
void initGraphicsContext(SDL_Window* window) { gpu.initGraphicsContext(window); }
#endif