mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-21 11:31:13 +00:00
Fix float exception on processing empty bounding box for ' '. Refs #412
This commit is contained in:
1 parent
50eaf793f1
commit
975b67d2ce
1 file changed
+4
-1
@@ -897,7 +897,10 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver, VkDevice dev)
|
||||
|
||||
FontGlyphData *glyphData = (FontGlyphData *)m_TextGlyphUBO.Map();
|
||||
|
||||
for(int i = 0; i < numChars; i++)
|
||||
glyphData[0].posdata = Vec4f();
|
||||
glyphData[0].uvdata = Vec4f();
|
||||
|
||||
for(int i = 1; i < numChars; i++)
|
||||
{
|
||||
stbtt_bakedchar *b = chardata + i;
|
||||
|
||||
|
||||
Reference in new issue
Block a user