Minor fixes
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Nz
|
||||
if (shaderBinding)
|
||||
shaderBinding->Apply(*pipelineLayout, setIndex, context);
|
||||
else
|
||||
NazaraWarning("no shader binding for set #" + std::to_string(setIndex));
|
||||
NazaraWarningFmt("no shader binding for set #{0}", setIndex);
|
||||
|
||||
setIndex++;
|
||||
}
|
||||
|
||||
@@ -45,17 +45,17 @@ namespace Nz::GL
|
||||
|
||||
if constexpr (std::is_same_v<Ret, void>)
|
||||
{
|
||||
funcPtr(std::forward<Args>(args)...);
|
||||
funcPtr(args...);
|
||||
|
||||
if (context->ProcessErrorStack())
|
||||
context->PrintFunctionCall(FuncIndex, std::forward<Args>(args)...);
|
||||
context->PrintFunctionCall(FuncIndex, args...);
|
||||
}
|
||||
else
|
||||
{
|
||||
Ret r = funcPtr(std::forward<Args>(args)...);
|
||||
Ret r = funcPtr(args...);
|
||||
|
||||
if (context->ProcessErrorStack())
|
||||
context->PrintFunctionCall(FuncIndex, std::forward<Args>(args)...);
|
||||
context->PrintFunctionCall(FuncIndex, args...);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user