Disabled error exception during Renderer::EnsureStateUpdate

Former-commit-id: c09ad9e1da95b483ce65a04100182c787cc0aafb
This commit is contained in:
Lynix 2014-05-28 00:24:10 +02:00
parent e304da7681
commit 579b22e753
1 changed files with 1 additions and 1 deletions

View File

@ -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)