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