Бранимир Караџић il y a 5 ans
Parent
commit
ab03a8ae60
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/renderer_vk.cpp

+ 2 - 0
src/renderer_vk.cpp

@@ -4146,7 +4146,9 @@ VK_IMPORT_DEVICE
 				// bgfx does not seem to forbid setting a texture to a stage that a program does not use
 				if (bind.m_type == Binding::Texture
 				&& !isValid(program.m_bindInfo[stage].uniformHandle) )
+				{
 					continue;
+				}
 
 				if (kInvalidHandle != bind.m_idx)
 				{