aboutsummaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-03-19 01:31:01 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-05-06 03:10:14 +0100
commitf20454b97c1ff08635bd388de9fd1ef1aa0f2327 (patch)
treedad47959f5af525e0ddce44847a6e31fae510358 /src/core/hw/gpu.cpp
parent200e9d03b2f001d5957de5ba5b4703972c83b2bd (diff)
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.
Diffstat (limited to 'src/core/hw/gpu.cpp')
0 files changed, 0 insertions, 0 deletions