Minor fixes

This commit is contained in:
SirLynix
2022-12-06 09:07:18 +01:00
parent f2c83df8ff
commit 75bbc5df09
11 changed files with 12 additions and 8 deletions

View File

@@ -47,14 +47,14 @@ namespace Nz::GL
{
funcPtr(std::forward<Args>(args)...);
if (!context->ProcessErrorStack())
if (context->ProcessErrorStack())
context->PrintFunctionCall(FuncIndex, std::forward<Args>(args)...);
}
else
{
Ret r = funcPtr(std::forward<Args>(args)...);
if (!context->ProcessErrorStack())
if (context->ProcessErrorStack())
context->PrintFunctionCall(FuncIndex, std::forward<Args>(args)...);
return r;