Commit f7fae963 authored by Florian Oetke's avatar Florian Oetke

fixed small errors

parent b7bf73fc
Pipeline #3207 passed with stage
in 17 minutes and 43 seconds
......@@ -74,10 +74,8 @@ namespace mirrage::renderer {
vk::DescriptorType::eStorageImage,
vk::DescriptorType::eSampledImage,
vk::DescriptorType::eSampler})
, _gbuffer(gbuffer_required(passes) ? std::make_unique<GBuffer>(device(),
_descriptor_set_pool,
factory._window.width(),
factory._window.height())
, _gbuffer(gbuffer_required(passes) ? std::make_unique<GBuffer>(
device(), _descriptor_set_pool, factory._window.width(), factory._window.height())
: std::unique_ptr<GBuffer>())
, _profiler(device(), 128)
......@@ -608,7 +606,6 @@ namespace mirrage::renderer {
vk::ImageLayout::ePresentSrcKHR,
0,
1);
//return; // nothing drawn, nothing to do
}
......
......@@ -14,6 +14,8 @@ namespace mirrage::util {
using default_rand = std::mt19937_64;
struct random_seed_seq {
using result_type = std::random_device::result_type;
template <typename It>
void generate(It begin, It end)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment