Browse Source

Vulkan: fix failure to cache pipeline states

rdb 10 years ago
parent
commit
f4515bc606
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panda/src/vulkandisplay/vulkanGraphicsStateGuardian.I

+ 2 - 1
panda/src/vulkandisplay/vulkanGraphicsStateGuardian.I

@@ -39,7 +39,8 @@ operator = (const PipelineKey &copy) {
 INLINE VulkanGraphicsStateGuardian::PipelineKey::
 PipelineKey(PipelineKey &&from) NOEXCEPT :
   _state(move(from._state)),
-  _format(move(from._format)) {
+  _format(move(from._format)),
+  _topology(from._topology) {
 }
 
 /**