diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/bootmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index a197831d8..7eed9fcf3 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp | |||
| @@ -91,8 +91,8 @@ void EmuThread::run() { | |||
| 91 | 91 | ||
| 92 | class GGLContext : public Core::Frontend::GraphicsContext { | 92 | class GGLContext : public Core::Frontend::GraphicsContext { |
| 93 | public: | 93 | public: |
| 94 | explicit GGLContext(QOpenGLContext* shared_context) : surface() { | 94 | explicit GGLContext(QOpenGLContext* shared_context) |
| 95 | context = std::make_unique<QOpenGLContext>(shared_context); | 95 | : context{std::make_unique<QOpenGLContext>(shared_context)} { |
| 96 | surface.setFormat(shared_context->format()); | 96 | surface.setFormat(shared_context->format()); |
| 97 | surface.create(); | 97 | surface.create(); |
| 98 | } | 98 | } |