mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
valgrind: Fix uninitialized variables in debug tools - ImmediateMode and Optick
This commit is contained in:
parent
f714e791fe
commit
6e2c637578
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -86,7 +86,7 @@ private:
|
|||
static idIndexBuffer indexBuffer;
|
||||
|
||||
bool geometryOnly;
|
||||
float currentTexCoord[2];
|
||||
float currentTexCoord[2] = {};
|
||||
GFXenum currentMode;
|
||||
byte currentColor[4];
|
||||
idImage* currentTexture;
|
||||
|
|
Loading…
Reference in a new issue