There was an error fetching the commit references. Please try again later.
Frontends, VideoCore: Move glad initialisation to the frontend
On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the default function loader, and fixes a crash when using apitrace with an EGL context. On Qt we will need to migrate from QGLWidget to QOpenGLWidget and QOpenGLContext before we can use gladLoadGLLoader() instead of gladLoadGL(), since the former doesn’t expose a function loader.
Showing
- src/citra/emu_window/emu_window_sdl2.cpp 7 additions, 0 deletionssrc/citra/emu_window/emu_window_sdl2.cpp
- src/citra_qt/main.cpp 11 additions, 0 deletionssrc/citra_qt/main.cpp
- src/video_core/renderer_opengl/renderer_opengl.cpp 0 additions, 6 deletionssrc/video_core/renderer_opengl/renderer_opengl.cpp
Loading
Please register or sign in to comment