Fix variable name shadowing warning

This commit is contained in:
Lukas Dürrenberger 2021-04-20 10:33:33 +02:00 committed by Lukas Dürrenberger
parent e01aa152c1
commit 92bc513d9f

View File

@ -803,7 +803,7 @@ unsigned int Texture::getMaximumSize()
{ {
checked = true; checked = true;
TransientContextLock lock; TransientContextLock transientLock;
glCheck(glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size)); glCheck(glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size));
} }