Fix: DrawTest.draw_pass_all_commands

The test expects `DRWState` to be a `uint32_t`,
but since the enum doesn't have an explicit type,
it can be compiled as an `int32_t`.

Pull Request: https://projects.blender.org/blender/blender/pulls/144219
This commit is contained in:
Miguel Pozo
2025-08-11 15:58:00 +02:00
parent 62397597e8
commit f4dce7b4fa

View File

@@ -22,7 +22,7 @@
* The Write Stencil, Stencil test, Depth test and Blend state options are mutual exclusive
* therefore they aren't ordered as a bit mask.
*/
typedef enum {
typedef enum : uint32_t {
/** To be used for compute passes. */
DRW_STATE_NO_DRAW = 0,
/** Write mask */