vulkan: remove unnecessary quadindex code

This commit is contained in:
niki
2022-08-01 19:30:08 +02:00
parent dcea056fcb
commit 1647f6c9c2
6 changed files with 9 additions and 15 deletions
-2
View File
@@ -182,7 +182,6 @@ private:
void createCommandBuffers();
void createSyncObjects();
void createDefaultTexture();
void createQuadIndexBuffer();
void cleanup();
void cleanupSwapChain();
void recreateSwapChain();
@@ -230,7 +229,6 @@ private:
bool framebufferResized = false;
VmaAllocator vmaAllocator = VK_NULL_HANDLE;
std::unique_ptr<Texture> standardTexture = nullptr;
std::unique_ptr<StreamBuffer> quadIndexBuffer = nullptr;
// we need an array of draw buffers, since the frames are being rendered asynchronously
// and we can't (or shouldn't) update the contents of the buffers while they're still in flight / being rendered.
std::vector<BatchedDrawBuffers> batchedDrawBuffers;