summaryrefslogtreecommitdiff
path: root/src/vk/sprite.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2023-10-30 15:06:56 -0300
committerFrederico Linhares <fred@linhares.blue>2023-10-30 15:06:56 -0300
commit85337fb5aa1ce63023ddd5e284ae6b2ccdbb5e30 (patch)
tree16e2538b1039067c9732645f301ae717a8855a49 /src/vk/sprite.hpp
parentc4efa865f359c5c9e365d5faa8ae3c88f3657cb7 (diff)
refa Move texture sampler to texture object
Diffstat (limited to 'src/vk/sprite.hpp')
-rw-r--r--src/vk/sprite.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vk/sprite.hpp b/src/vk/sprite.hpp
index 5934501..791144e 100644
--- a/src/vk/sprite.hpp
+++ b/src/vk/sprite.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Frederico de Oliveira Linhares
+ * Copyright 2022-2023 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.
@@ -39,9 +39,6 @@ struct Sprite
SourceBuffer *source_buffer;
DestinationBuffer *vertex_buffer;
- VkDescriptorPool descriptor_pool;
- std::vector<VkDescriptorSet> descriptor_sets;
-
std::shared_ptr<Texture> texture;
Sprite(std::shared_ptr<Texture> texture, glm::vec4 &rect);