Use VulkanDevice
This commit is contained in:
parent
053d6423fa
commit
ffaea5a430
3 changed files with 52 additions and 82 deletions
|
|
@ -145,7 +145,7 @@ public:
|
|||
gearInfo.rotSpeed = rotationSpeeds[i];
|
||||
gearInfo.rotOffset = rotationOffsets[i];
|
||||
|
||||
gears[i] = new VulkanGear(device, this);
|
||||
gears[i] = new VulkanGear(vulkanDevice);
|
||||
gears[i]->generate(&gearInfo, queue);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue