Browse Source

Avoid -Wshadow warning

Co-authored-by: Mai M. <mathew1800@gmail.com>
pull/15/merge
Clément Gallet 5 years ago
committed by GitHub
parent
commit
2e1c58b905
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp

2
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);
}

Loading…
Cancel
Save