mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 08:08:50 +00:00
Initialise gradCoords variable
This commit is contained in:
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user