mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-12 15:13:35 +00:00
adding waves to water, improving water color, fixing underwater view
This commit is contained in:
@@ -10,10 +10,7 @@ namespace Scop
|
||||
{
|
||||
void GraphicPipeline::Init(GraphicPipelineDescriptor descriptor)
|
||||
{
|
||||
if(!descriptor.vertex_shader || !descriptor.fragment_shader)
|
||||
FatalError("Vulkan: invalid shaders");
|
||||
|
||||
m_description = std::move(descriptor);
|
||||
Setup(std::move(descriptor));
|
||||
|
||||
m_description.vertex_shader->SetPipelineInUse(this);
|
||||
m_description.fragment_shader->SetPipelineInUse(this);
|
||||
|
||||
Reference in New Issue
Block a user