wineopenxr: Don't sort funcpointers.

Sorting breaks generated code compilation due to funcpointers
dependencies on each other in the up to date registry.

CW-Bug-Id: #23689
This commit is contained in:
Paul Gofman
2024-04-19 13:04:54 -06:00
committed by Arkadiusz Hiler
parent 7c56794fa5
commit 26e5b94e4c
2 changed files with 3 additions and 3 deletions

View File

@ -2939,7 +2939,7 @@ class XrRegistry(object):
self.bitmasks = sorted(bitmasks, key=lambda bitmask: bitmask.name)
self.defines = defines
self.enums = OrderedDict(sorted(self.enums.items()))
self.funcpointers = sorted(funcpointers, key=lambda fp: fp.name)
self.funcpointers = funcpointers
self.handles = sorted(handles, key=lambda handle: handle.name)
self.structs = sorted(structs, key=lambda struct: struct.name)