Skip to content

Commit

Permalink
Fix variable name shadowing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eXpl0it3r committed Apr 20, 2021
1 parent 5a6fc93 commit 0d08596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SFML/Graphics/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ unsigned int Texture::getMaximumSize()
{
checked = true;

TransientContextLock lock;
TransientContextLock transientLock;

glCheck(glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size));
}
Expand Down

0 comments on commit 0d08596

Please sign in to comment.