small formatting change in D3D8_VMT generator

This commit is contained in:
Daniel S. 2019-12-04 00:45:15 +01:00
parent 68451e1f97
commit f006214af6

View file

@ -27,5 +27,5 @@ with open(outfile,"w") as ofh:
for name in sorted(VMTs.keys()): for name in sorted(VMTs.keys()):
print(f"namespace {name} {{",file=ofh) print(f"namespace {name} {{",file=ofh)
for method,idx in sorted(VMTs[name].items(),key=lambda v:v[1]): for method,idx in sorted(VMTs[name].items(),key=lambda v:v[1]):
print(f"\tconst size_t m_{method} = {idx};",file=ofh) print(f" const size_t m_{method} = {idx};",file=ofh)
print("}",file=ofh) print("}",file=ofh)