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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user