Changeset 9067efc in opengl-game for vulkan-game.hpp


Ignore:
Timestamp:
Feb 14, 2021, 1:32:15 AM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
9c0a614
Parents:
c6f0793
git-author:
Dmitry Portnoy <dportnoy@…> (02/14/21 01:27:41)
git-committer:
Dmitry Portnoy <dportnoy@…> (02/14/21 01:32:15)
Message:

Use resourceCommandPool in a few more places in VulkanGame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.hpp

    rc6f0793 r9067efc  
    497497
    498498   bool storageBufferResized = pipeline.addObject(obj.vertices, obj.indices, obj.ssbo,
    499       this->commandPool, this->graphicsQueue);
     499      resourceCommandPool, graphicsQueue);
    500500
    501501   if (pipelinesCreated) {
     
    536536void VulkanGame::updateObjectVertices(GraphicsPipeline_Vulkan<VertexType, SSBOType>& pipeline,
    537537      SceneObject<VertexType, SSBOType>& obj, size_t index) {
    538    pipeline.updateObjectVertices(index, obj.vertices, this->commandPool, this->graphicsQueue);
     538   pipeline.updateObjectVertices(index, obj.vertices, resourceCommandPool, graphicsQueue);
    539539}
    540540
Note: See TracChangeset for help on using the changeset viewer.