Initialise gradCoords variable

This commit is contained in:
baldurk committed 2020-04-13 19:30:49 +01:00
1 parent e138fea5ce
commit 5693c39fca
1 file changed
+1 -1
+1 -1
View File
@@ -364,7 +364,7 @@ public:
VkDevice dev = m_pDriver->GetDev();
// how many co-ordinates should there be
int coords = 0, gradCoords;
int coords = 0, gradCoords = 0;
switch(viewProps.viewType)
{
case VK_IMAGE_VIEW_TYPE_1D: