summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Clément Gallet2021-06-05 18:43:10 +0200
committerGravatar GitHub2021-06-05 18:43:10 +0200
commit2e1c58b9055a9177cdefd4373dd256e98f8603fb (patch)
tree946ace152363658d3748344b63e0b320753c28fb
parentyuzu-cmd: Fix OpenGL rendering (diff)
downloadyuzu-2e1c58b9055a9177cdefd4373dd256e98f8603fb.tar.gz
yuzu-2e1c58b9055a9177cdefd4373dd256e98f8603fb.tar.xz
yuzu-2e1c58b9055a9177cdefd4373dd256e98f8603fb.zip
Avoid -Wshadow warning
Co-authored-by: Mai M. <mathew1800@gmail.com>
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
index a3c513e3a..837a44be7 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
@@ -32,7 +32,7 @@
32 32
33class SDLGLContext : public Core::Frontend::GraphicsContext { 33class SDLGLContext : public Core::Frontend::GraphicsContext {
34public: 34public:
35 explicit SDLGLContext(SDL_Window* window) : window(window) { 35 explicit SDLGLContext(SDL_Window* window_) : window{window_} {
36 context = SDL_GL_CreateContext(window); 36 context = SDL_GL_CreateContext(window);
37 } 37 }
38 38