Commit 02be870c54392b946fb9b73b243ca8bd52011e26

Sam Lantinga 2023-08-01T18:28:55

Fixed crash if a display is enumerated twice This can happen if a monitor is in the process of becoming primary because another monitor was disconnected. (cherry picked from commit 07578fde3dad2dadd605f5b18399c8d021f6ae5d) (cherry picked from commit 2468fccf7fa7fa315d6652c7babf85f2d09f035b)