24343790
by Rémi Bernon at 2024-11-12T21:52:23+01:00
wined3d: Cast format_id when comparing it to the last format index.
Some FOURCC values such as 0xdeadbeef will en up being negative when cast to the
enum type, and may cause a random crash later on. This happens randomly in the
ddraw tests, depending on the compiler being used.