Disabled error exception during Renderer::EnsureStateUpdate
Former-commit-id: c09ad9e1da95b483ce65a04100182c787cc0aafb
This commit is contained in:
@@ -1561,7 +1561,7 @@ void NzRenderer::EnableInstancing(bool instancing)
|
||||
bool NzRenderer::EnsureStateUpdate()
|
||||
{
|
||||
// Toutes les erreurs sont silencieuses car l'erreur est gérée par la fonction appelante
|
||||
NzErrorFlags flags(nzErrorFlag_Silent);
|
||||
NzErrorFlags flags(nzErrorFlag_Silent | nzErrorFlag_ThrowExceptionDisabled);
|
||||
|
||||
#ifdef NAZARA_DEBUG
|
||||
if (NzContext::GetCurrent() == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user