2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Avoid -Wshadow warning

Co-authored-by: Mai M. <mathew1800@gmail.com>
This commit is contained in:
Clément Gallet 2021-06-05 18:43:10 +02:00 committed by GitHub
parent 9ff8504452
commit 2e1c58b905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@
class SDLGLContext : public Core::Frontend::GraphicsContext { class SDLGLContext : public Core::Frontend::GraphicsContext {
public: public:
explicit SDLGLContext(SDL_Window* window) : window(window) { explicit SDLGLContext(SDL_Window* window_) : window{window_} {
context = SDL_GL_CreateContext(window); context = SDL_GL_CreateContext(window);
} }