mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Generator: Struct member don't prettify names.
This commit is contained in:
@@ -1503,17 +1503,11 @@ public static class Program
|
||||
foreach (ApiStructField field in structType.Fields)
|
||||
{
|
||||
if (field.Name.EndsWith("_FORCE_DWORD"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
string fieldValueName;
|
||||
if (nestedType)
|
||||
{
|
||||
fieldValueName = field.Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
fieldValueName = GetPrettyFieldName(field.Name, structPrefix, false);
|
||||
}
|
||||
string fieldValueName = field.Name;
|
||||
|
||||
if (structType.Name == "D3D11_OMAC")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user