summaryrefslogtreecommitdiff
path: root/src/blu_cat/gra/graphics_pipeline_sprite_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blu_cat/gra/graphics_pipeline_sprite_3d.cpp')
-rw-r--r--src/blu_cat/gra/graphics_pipeline_sprite_3d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blu_cat/gra/graphics_pipeline_sprite_3d.cpp b/src/blu_cat/gra/graphics_pipeline_sprite_3d.cpp
index 14796d3..63e10b9 100644
--- a/src/blu_cat/gra/graphics_pipeline_sprite_3d.cpp
+++ b/src/blu_cat/gra/graphics_pipeline_sprite_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.
@@ -265,7 +265,7 @@ GraphicsPipelineSprite3D::~GraphicsPipelineSprite3D()
void
GraphicsPipelineSprite3D::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(
@@ -290,7 +290,7 @@ GraphicsPipelineSprite3D::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],
sprite.sprite_3d->descriptor_sets[image_index],
sprite.sprite_3d->sprite->texture->descriptor_sets[image_index]};
VkDeviceSize offsets[]{0};