Quellcode durchsuchen

Fixed vertexdecl dump.

Branimir Karadžić vor 10 Jahren
Ursprung
Commit
16bae53263
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/vertexdecl.cpp

+ 1 - 1
src/vertexdecl.cpp

@@ -177,7 +177,7 @@ namespace bgfx
 
 
 			for (uint32_t attr = 0; attr < Attrib::Count; ++attr)
 			for (uint32_t attr = 0; attr < Attrib::Count; ++attr)
 			{
 			{
-				if (0xff != _decl.m_attributes[attr])
+				if (UINT16_MAX != _decl.m_attributes[attr])
 				{
 				{
 					uint8_t num;
 					uint8_t num;
 					AttribType::Enum type;
 					AttribType::Enum type;