From 92bc513d9f83c84ee1fe41a2fa3006413c18672e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Tue, 20 Apr 2021 10:33:33 +0200 Subject: [PATCH] Fix variable name shadowing warning --- src/SFML/Graphics/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Texture.cpp b/src/SFML/Graphics/Texture.cpp index 0df24a7a..8869a247 100644 --- a/src/SFML/Graphics/Texture.cpp +++ b/src/SFML/Graphics/Texture.cpp @@ -803,7 +803,7 @@ unsigned int Texture::getMaximumSize() { checked = true; - TransientContextLock lock; + TransientContextLock transientLock; glCheck(glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size)); }