summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-13 23:30:41 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-06-14 14:30:08 +0200
commit2d903e3ce6e0972c43d4611d4e20cecee4a42e23 (patch)
tree189fb0897091b7d395503998e7e5a45fd52a5372
parentgame_list: Eliminate variable shadowing (diff)
downloadyuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.gz
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.bz2
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.lz
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.xz
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.tar.zst
yuzu-2d903e3ce6e0972c43d4611d4e20cecee4a42e23.zip
-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() {
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);