Бранимир Караџић преди 5 години
родител
ревизия
ab03a8ae60
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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
 				// bgfx does not seem to forbid setting a texture to a stage that a program does not use
 				if (bind.m_type == Binding::Texture
 				if (bind.m_type == Binding::Texture
 				&& !isValid(program.m_bindInfo[stage].uniformHandle) )
 				&& !isValid(program.m_bindInfo[stage].uniformHandle) )
+				{
 					continue;
 					continue;
+				}
 
 
 				if (kInvalidHandle != bind.m_idx)
 				if (kInvalidHandle != bind.m_idx)
 				{
 				{