summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-17 06:02:28 +0200
committerLioncash <mathew1800@gmail.com>2019-04-17 06:04:10 +0200
commit54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506 (patch)
treef57cf1666760aadb9c75ce178f61608fb65ef011 /src
parentyuzu/bootmanager: Remove unnecessary includes (diff)
downloadyuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.tar
yuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.tar.gz
yuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.tar.bz2
yuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.tar.lz
yuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.tar.xz
yuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.tar.zst
yuzu-54e9f9b6ed4b3a26dc268e6b03a2341b5d58d506.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp4
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() {
class GGLContext : public Core::Frontend::GraphicsContext {
public:
- explicit GGLContext(QOpenGLContext* shared_context) : surface() {
- context = std::make_unique<QOpenGLContext>(shared_context);
+ explicit GGLContext(QOpenGLContext* shared_context)
+ : context{std::make_unique<QOpenGLContext>(shared_context)} {
surface.setFormat(shared_context->format());
surface.create();
}