From 448f22dedb234512c89b785cbe0153fe55063094 Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Wed, 8 May 2019 22:27:56 -0700 Subject: [PATCH] Handle new default value in the code generator. --- src/CodeGenerator/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CodeGenerator/Program.cs b/src/CodeGenerator/Program.cs index 5705c26..18ddf86 100644 --- a/src/CodeGenerator/Program.cs +++ b/src/CodeGenerator/Program.cs @@ -72,6 +72,7 @@ namespace CodeGenerator { "ImVec4(1,1,1,1)", "new Vector4(1, 1, 1, 1)" }, { "ImDrawCornerFlags_All", "(int)ImDrawCornerFlags.All" }, { "FLT_MAX", "float.MaxValue" }, + { "(((ImU32)(255)<<24)|((ImU32)(255)<<16)|((ImU32)(255)<<8)|((ImU32)(255)<<0))", "0xFFFFFFFF" } }; private static readonly Dictionary s_identifierReplacements = new Dictionary()