Minor stuff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user