Changeset c074f81 in opengl-game for sdl-game.hpp
- Timestamp:
- Jun 8, 2021, 2:29:12 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 8aa4888
- Parents:
- 567fa88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.hpp
r567fa88 rc074f81 383 383 void VulkanGame::updateBufferSet(BufferSet& set, size_t objIndex, SSBOType& ssbo) { 384 384 for (size_t i = 0; i < set.memory.size(); i++) { 385 VulkanUtils::copyDataToMemory(device, ssbo, set.memory[i], objIndex * sizeof(SSBOType));385 VulkanUtils::copyDataToMemory(device, &ssbo, set.memory[i], objIndex * sizeof(SSBOType), sizeof(ssbo), false); 386 386 } 387 387 }
Note:
See TracChangeset
for help on using the changeset viewer.