Minor prevent fix
Former-commit-id: b07c861f348d0f232c365b63c46f2d41ee476b0e
This commit is contained in:
parent
73c1b9508b
commit
4ee6ca05ed
|
|
@ -1192,6 +1192,8 @@ void NzRenderer::Uninitialize()
|
|||
return;
|
||||
}
|
||||
|
||||
NzContext::EnsureContext();
|
||||
|
||||
// Libération du module
|
||||
s_moduleReferenceCounter = 0;
|
||||
|
||||
|
|
@ -1204,8 +1206,6 @@ void NzRenderer::Uninitialize()
|
|||
NzShaderBuilder::Uninitialize();
|
||||
NzTextureSampler::Uninitialize();
|
||||
|
||||
NzContext::EnsureContext();
|
||||
|
||||
// Libération du buffer d'instancing
|
||||
if (s_instancingBuffer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue