Minor stuff

This commit is contained in:
Jérôme Leclercq
2021-08-10 10:35:59 +02:00
parent f5dac32020
commit 7aafcfaae9
8 changed files with 8 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ namespace Nz
CheckCompilationStatus(shader);
program.AttachShader(shader.GetObjectId());
// Shader can be deleted now (it won't be deleted by the driver until program gets deleted)
// Shader object can be safely released now (it won't be deleted by the driver until program gets deleted)
stageFlags |= shaderEntry.stage;
}

View File

@@ -679,7 +679,7 @@ namespace Nz::GL
bool Context::SetCurrentContext(const Context* context)
{
const Context*& currentContext = s_currentContext; //< Pay TLS cost only once
const Context*& currentContext = s_currentContext; //< Pay TLS cost once
if (currentContext == context)
return true;