mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 15:05:43 +00:00
* Generator.cs: Use Settings.FunctionPrefix when searching for
documentation (instead of hardcoded "gl" prefix).
This commit is contained in:
parent
479c9f3f10
commit
b234593f14
|
@ -683,13 +683,13 @@ namespace Bind.GL2
|
|||
Console.WriteLine("Creating docs for #{0} ({1})", current++, f.Name);
|
||||
try
|
||||
{
|
||||
string path = Path.Combine(Settings.DocPath, "gl" + f.WrappedDelegate.Name + ".xml");
|
||||
string path = Path.Combine(Settings.DocPath, Settings.FunctionPrefix + f.WrappedDelegate.Name + ".xml");
|
||||
if (!File.Exists(path))
|
||||
path = Path.Combine(Settings.DocPath, "gl" +
|
||||
path = Path.Combine(Settings.DocPath, Settings.FunctionPrefix +
|
||||
f.TrimmedName + ".xml");
|
||||
|
||||
if (!File.Exists(path))
|
||||
path = Path.Combine(Settings.DocPath, "gl" + f.TrimmedName.TrimEnd(numbers) + ".xml");
|
||||
path = Path.Combine(Settings.DocPath, Settings.FunctionPrefix + f.TrimmedName.TrimEnd(numbers) + ".xml");
|
||||
|
||||
if (File.Exists(path))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue