Vulkan: NULL initialize some handles.

Was getting crashes until I realized buffered rendering was on.
This commit is contained in:
Unknown W. Brackets committed 2017-04-22 18:38:51 -07:00
1 parent ae4c28aa4d
commit 57a839db17
1 file changed
+2 -2
+2 -2
View File
@@ -152,8 +152,8 @@ private:
// The command buffer of the current framebuffer pass being rendered to.
// One framebuffer can be used as a texturing source at multiple times in a frame,
// but then the contents have to be copied out into a new texture every time.
VkCommandBuffer curCmd_;
VkCommandBuffer cmdInit_;
VkCommandBuffer curCmd_ = VK_NULL_HANDLE;
VkCommandBuffer cmdInit_ = VK_NULL_HANDLE;
// Used by DrawPixels
VulkanTexture *drawPixelsTex_;