Generator: Struct member don't prettify names.

This commit is contained in:
Amer Koleci
2022-09-16 12:06:31 +02:00
parent 1942a804f8
commit 34887eeccb
4 changed files with 61 additions and 67 deletions

View File

@@ -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")
{