aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-13 17:30:41 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-06-14 08:30:08 -0400
commit2d903e3ce6e0972c43d4611d4e20cecee4a42e23 (patch)
tree189fb0897091b7d395503998e7e5a45fd52a5372
parente29e8eec2febc58e36add101d63e197f3ddea0bc (diff)
bootmanager: Eliminate variable shadowing
-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 fdc0935244..cbe4e2daa5 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -127,7 +127,7 @@ void EmuThread::run() {
class OpenGLSharedContext : public Core::Frontend::GraphicsContext {
public:
/// Create the original context that should be shared from
- explicit OpenGLSharedContext(QSurface* surface) : surface(surface) {
+ explicit OpenGLSharedContext(QSurface* surface_) : surface{surface_} {
QSurfaceFormat format;
format.setVersion(4, 6);
format.setProfile(QSurfaceFormat::CompatibilityProfile);