summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Morph2022-06-13 17:30:41 -0400
committerGravatar Morph2022-06-14 08:30:08 -0400
commit2d903e3ce6e0972c43d4611d4e20cecee4a42e23 (patch)
tree189fb0897091b7d395503998e7e5a45fd52a5372 /src
parentgame_list: Eliminate variable shadowing (diff)
downloadyuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.gz
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.xz
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.zip
bootmanager: Eliminate variable shadowing
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index fdc093524..cbe4e2daa 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -127,7 +127,7 @@ void EmuThread::run() {
127class OpenGLSharedContext : public Core::Frontend::GraphicsContext { 127class OpenGLSharedContext : public Core::Frontend::GraphicsContext {
128public: 128public:
129 /// Create the original context that should be shared from 129 /// Create the original context that should be shared from
130 explicit OpenGLSharedContext(QSurface* surface) : surface(surface) { 130 explicit OpenGLSharedContext(QSurface* surface_) : surface{surface_} {
131 QSurfaceFormat format; 131 QSurfaceFormat format;
132 format.setVersion(4, 6); 132 format.setVersion(4, 6);
133 format.setProfile(QSurfaceFormat::CompatibilityProfile); 133 format.setProfile(QSurfaceFormat::CompatibilityProfile);