valgrind: Fix uninitialized variables in debug tools - ImmediateMode and Optick

This commit is contained in:
Stephen Saunders 2023-12-28 09:29:47 -05:00
parent f714e791fe
commit 6e2c637578
2 changed files with 2 additions and 1 deletions

View file

@ -150,6 +150,7 @@ namespace Optick
queryPoolCreateInfo.flags = 0;
queryPoolCreateInfo.queryType = VK_QUERY_TYPE_TIMESTAMP;
queryPoolCreateInfo.queryCount = MAX_QUERIES_COUNT + 1;
queryPoolCreateInfo.pipelineStatistics = 0;
VkCommandPoolCreateInfo commandPoolCreateInfo;
commandPoolCreateInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO;

View file

@ -86,7 +86,7 @@ private:
static idIndexBuffer indexBuffer;
bool geometryOnly;
float currentTexCoord[2];
float currentTexCoord[2] = {};
GFXenum currentMode;
byte currentColor[4];
idImage* currentTexture;