Minor fixes
This commit is contained in:
parent
f2c83df8ff
commit
75bbc5df09
|
|
@ -71,7 +71,7 @@ namespace Nz
|
|||
struct DrawStates;
|
||||
|
||||
void ApplyStates(const GL::Context& context, const DrawStates& states);
|
||||
void Release();
|
||||
void Release() override;
|
||||
|
||||
struct BeginDebugRegionData
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Renderer/Config.hpp>
|
||||
#include <Nazara/Renderer/Enums.hpp>
|
||||
#include <string_view>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Renderer/Config.hpp>
|
||||
#include <Nazara/Renderer/Enums.hpp>
|
||||
#include <string_view>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
#include <Nazara/Renderer/Config.hpp>
|
||||
#include <Nazara/Utility/Enums.hpp>
|
||||
#include <functional>
|
||||
#include <string_view>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ on_run(function ()
|
|||
end
|
||||
end
|
||||
|
||||
paths["Audio"].Excludes["OpenALFunctions.hpp"] = true
|
||||
paths["Core"].Excludes["ECS.hpp"] = true
|
||||
paths["OpenGLRenderer"].Excludes["Wrapper.hpp"] = true
|
||||
paths["VulkanRenderer"].Excludes["Wrapper.hpp"] = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue