From f4dce7b4fa71ff20e39cf8cded006d24ba7554c2 Mon Sep 17 00:00:00 2001 From: Miguel Pozo Date: Mon, 11 Aug 2025 15:58:00 +0200 Subject: [PATCH] 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 --- source/blender/draw/intern/draw_state.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/draw/intern/draw_state.hh b/source/blender/draw/intern/draw_state.hh index e0a473f5a06..b95a618d90a 100644 --- a/source/blender/draw/intern/draw_state.hh +++ b/source/blender/draw/intern/draw_state.hh @@ -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 */