mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 23:21:05 +00:00
* CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces
may not start with a digit.
This commit is contained in:
parent
bb4d969dad
commit
fe37db4077
|
@ -57,6 +57,14 @@ namespace Bind
|
||||||
if (!Directory.Exists(Settings.OutputPath))
|
if (!Directory.Exists(Settings.OutputPath))
|
||||||
Directory.CreateDirectory(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";
|
Settings.DefaultOutputNamespace = "OpenTK";
|
||||||
|
|
||||||
string temp_header_file = Path.GetTempFileName();
|
string temp_header_file = Path.GetTempFileName();
|
||||||
|
|
Loading…
Reference in a new issue