Disabled error exception during Renderer::EnsureStateUpdate
Former-commit-id: c09ad9e1da95b483ce65a04100182c787cc0aafb
This commit is contained in:
parent
e304da7681
commit
579b22e753
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue