Alexandre Julliard pushed to branch master at wine / wine
Commits: 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.
- - - - -
1 changed file:
- dlls/wined3d/utils.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/243437903eab380871b7169b631a2fe...