From 2e1c58b9055a9177cdefd4373dd256e98f8603fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gallet?= Date: Sat, 5 Jun 2021 18:43:10 +0200 Subject: Avoid -Wshadow warning Co-authored-by: Mai M. --- src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu_cmd') 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 @@ class SDLGLContext : public Core::Frontend::GraphicsContext { public: - explicit SDLGLContext(SDL_Window* window) : window(window) { + explicit SDLGLContext(SDL_Window* window_) : window{window_} { context = SDL_GL_CreateContext(window); } -- cgit v1.2.3