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

@ -71,7 +71,7 @@ namespace Nz
struct DrawStates; struct DrawStates;
void ApplyStates(const GL::Context& context, const DrawStates& states); void ApplyStates(const GL::Context& context, const DrawStates& states);
void Release(); void Release() override;
struct BeginDebugRegionData struct BeginDebugRegionData
{ {

View File

@ -10,6 +10,7 @@
#include <Nazara/Prerequisites.hpp> #include <Nazara/Prerequisites.hpp>
#include <Nazara/Renderer/Config.hpp> #include <Nazara/Renderer/Config.hpp>
#include <Nazara/Renderer/Enums.hpp> #include <Nazara/Renderer/Enums.hpp>
#include <string_view>
namespace Nz namespace Nz
{ {

View File

@ -10,6 +10,7 @@
#include <Nazara/Prerequisites.hpp> #include <Nazara/Prerequisites.hpp>
#include <Nazara/Renderer/Config.hpp> #include <Nazara/Renderer/Config.hpp>
#include <Nazara/Renderer/Enums.hpp> #include <Nazara/Renderer/Enums.hpp>
#include <string_view>
namespace Nz namespace Nz
{ {

View File

@ -11,6 +11,7 @@
#include <Nazara/Renderer/Config.hpp> #include <Nazara/Renderer/Config.hpp>
#include <Nazara/Utility/Enums.hpp> #include <Nazara/Utility/Enums.hpp>
#include <functional> #include <functional>
#include <string_view>
namespace Nz namespace Nz
{ {

View File

@ -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 // No OpenGL object to name
} }

View File

@ -36,7 +36,7 @@ namespace Nz
return commandBuffer; return commandBuffer;
} }
void OpenGLCommandPool::UpdateDebugName(std::string_view name) void OpenGLCommandPool::UpdateDebugName(std::string_view /*name*/)
{ {
// No OpenGL object to name // No OpenGL object to name
} }

View File

@ -7,7 +7,7 @@
namespace Nz namespace Nz
{ {
void OpenGLRenderPass::UpdateDebugName(std::string_view name) void OpenGLRenderPass::UpdateDebugName(std::string_view /*name*/)
{ {
// No OpenGL object to name // No OpenGL object to name
} }

View File

@ -59,7 +59,7 @@ namespace Nz
return bindingPtr; return bindingPtr;
} }
void OpenGLRenderPipelineLayout::UpdateDebugName(std::string_view name) void OpenGLRenderPipelineLayout::UpdateDebugName(std::string_view /*name*/)
{ {
// No OpenGL object to name // No OpenGL object to name
} }

View File

@ -28,7 +28,7 @@ namespace Nz
return m_renderWindow.GetSize(); return m_renderWindow.GetSize();
} }
void OpenGLWindowFramebuffer::UpdateDebugName(std::string_view name) void OpenGLWindowFramebuffer::UpdateDebugName(std::string_view /*name*/)
{ {
// No OpenGL object to name // No OpenGL object to name
} }

View File

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

View File

@ -72,6 +72,7 @@ on_run(function ()
end end
end end
paths["Audio"].Excludes["OpenALFunctions.hpp"] = true
paths["Core"].Excludes["ECS.hpp"] = true paths["Core"].Excludes["ECS.hpp"] = true
paths["OpenGLRenderer"].Excludes["Wrapper.hpp"] = true paths["OpenGLRenderer"].Excludes["Wrapper.hpp"] = true
paths["VulkanRenderer"].Excludes["Wrapper.hpp"] = true paths["VulkanRenderer"].Excludes["Wrapper.hpp"] = true