Minor fixes

This commit is contained in:
Jérôme Leclercq
2022-02-23 23:48:20 +01:00
parent 74dcb602b8
commit fe16584c8c
7 changed files with 15 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ namespace Nz
static bool Initialize();
static void Uninitialize();
static std::shared_ptr<MaterialSettings> s_basicMaterialSettings;
static std::shared_ptr<MaterialSettings> s_depthMaterialSettings;
};
}

View File

@@ -9,7 +9,7 @@ namespace Nz
{
inline const std::shared_ptr<MaterialSettings>& DepthMaterial::GetSettings()
{
return s_basicMaterialSettings;
return s_depthMaterialSettings;
}
}

View File

@@ -30,7 +30,6 @@
namespace Nz
{
class PointLight;
class RenderFrame;
class RenderTarget;

View File

@@ -3,7 +3,6 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Graphics/ForwardFramePipeline.hpp>
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Graphics/Debug.hpp>
namespace Nz