Minor fixes

This commit is contained in:
Lynix
2020-04-26 18:22:07 +02:00
parent 32157503e8
commit b7a7c84a89
4 changed files with 8 additions and 4 deletions

View File

@@ -8,6 +8,7 @@
#include <Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.hpp>
#include <Nazara/OpenGLRenderer/OpenGLShaderStage.hpp>
#include <Nazara/OpenGLRenderer/OpenGLTexture.hpp>
#include <Nazara/OpenGLRenderer/OpenGLTextureSampler.hpp>
#include <Nazara/OpenGLRenderer/Wrapper/Loader.hpp>
#include <stdexcept>
#include <Nazara/OpenGLRenderer/Debug.hpp>
@@ -74,6 +75,7 @@ namespace Nz
std::unique_ptr<TextureSampler> OpenGLDevice::InstantiateTextureSampler(const TextureSamplerInfo& params)
{
return {};
return std::make_unique<OpenGLTextureSampler>(*this, params);
}
}