diff --git a/Source/Bind/CppSpecWriter.cs b/Source/Bind/CppSpecWriter.cs index f1f9184f..bc5035e7 100644 --- a/Source/Bind/CppSpecWriter.cs +++ b/Source/Bind/CppSpecWriter.cs @@ -57,6 +57,14 @@ namespace Bind if (!Directory.Exists(Settings.OutputPath)) Directory.CreateDirectory(Settings.OutputPath); + // Hack: Fix 3dfx extension category so it doesn't start with a digit + if (wrappers.ContainsKey("3dfx")) + { + var three_dee_fx = wrappers["3dfx"]; + wrappers.Remove("3dfx"); + wrappers.Add("T3dfx", three_dee_fx); + } + Settings.DefaultOutputNamespace = "OpenTK"; string temp_header_file = Path.GetTempFileName();