Minor fixes
This commit is contained in:
@@ -315,7 +315,7 @@ namespace Nz
|
||||
}
|
||||
}
|
||||
|
||||
void OpenGLCommandBuffer::UpdateDebugName(std::string_view name)
|
||||
void OpenGLCommandBuffer::UpdateDebugName(std::string_view /*name*/)
|
||||
{
|
||||
// No OpenGL object to name
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Nz
|
||||
return commandBuffer;
|
||||
}
|
||||
|
||||
void OpenGLCommandPool::UpdateDebugName(std::string_view name)
|
||||
void OpenGLCommandPool::UpdateDebugName(std::string_view /*name*/)
|
||||
{
|
||||
// No OpenGL object to name
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
void OpenGLRenderPass::UpdateDebugName(std::string_view name)
|
||||
void OpenGLRenderPass::UpdateDebugName(std::string_view /*name*/)
|
||||
{
|
||||
// No OpenGL object to name
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace Nz
|
||||
return bindingPtr;
|
||||
}
|
||||
|
||||
void OpenGLRenderPipelineLayout::UpdateDebugName(std::string_view name)
|
||||
void OpenGLRenderPipelineLayout::UpdateDebugName(std::string_view /*name*/)
|
||||
{
|
||||
// No OpenGL object to name
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace Nz
|
||||
return m_renderWindow.GetSize();
|
||||
}
|
||||
|
||||
void OpenGLWindowFramebuffer::UpdateDebugName(std::string_view name)
|
||||
void OpenGLWindowFramebuffer::UpdateDebugName(std::string_view /*name*/)
|
||||
{
|
||||
// No OpenGL object to name
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user