From 16bae53263382d9780e300c04619d62cc1bcfd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 9 Aug 2015 17:55:28 -0700 Subject: [PATCH] Fixed vertexdecl dump. --- src/vertexdecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vertexdecl.cpp b/src/vertexdecl.cpp index 6c15368d5..f26c5f86e 100644 --- a/src/vertexdecl.cpp +++ b/src/vertexdecl.cpp @@ -177,7 +177,7 @@ namespace bgfx 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; AttribType::Enum type;