diff options
author | Frederico Linhares <fred@linhares.blue> | 2025-06-21 16:51:22 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2025-06-21 16:51:22 -0300 |
commit | 8bedf8a366cb6c1179bc89678c863517b9356d48 (patch) | |
tree | 4a285592f804802d59f2af090113f607344ffdce /src/blu_cat/gra/graphics_pipeline_3d.cpp | |
parent | b3428170ac0a1837d3568f7b49312cbb01179f5d (diff) |
View2D is almost useless and add too much complexity for the engine,
so I am removing it.
Diffstat (limited to 'src/blu_cat/gra/graphics_pipeline_3d.cpp')
-rw-r--r-- | src/blu_cat/gra/graphics_pipeline_3d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blu_cat/gra/graphics_pipeline_3d.cpp b/src/blu_cat/gra/graphics_pipeline_3d.cpp index 1f7324a..288e186 100644 --- a/src/blu_cat/gra/graphics_pipeline_3d.cpp +++ b/src/blu_cat/gra/graphics_pipeline_3d.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 Frederico de Oliveira Linhares + * Copyright 2022-2025 Frederico de Oliveira Linhares * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -257,7 +257,7 @@ GraphicsPipeline3D::~GraphicsPipeline3D() void GraphicsPipeline3D::draw( - std::shared_ptr<View3D> view, const VkCommandBuffer draw_command_buffer, + std::shared_ptr<View> view, const VkCommandBuffer draw_command_buffer, const size_t current_frame, const uint32_t image_index) { vkCmdBindPipeline( @@ -286,7 +286,7 @@ GraphicsPipeline3D::draw( std::array<VkDescriptorSet, 4> vk_descriptor_sets{ INT::core.vk_light->descriptor_sets_world[image_index], - view->descriptor_sets_3d[image_index], + view->descriptor_sets[image_index], instance->descriptor_sets[image_index], instance->texture->descriptor_sets[image_index]}; |