From c4ab17ab79188359c0c10a528e2aef89c9a71fbb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 6 Jul 2024 13:37:16 +1000 Subject: [PATCH] Cleanup: quiet compiler warnings --- source/blender/draw/engines/eevee_next/eevee_instance.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/draw/engines/eevee_next/eevee_instance.hh b/source/blender/draw/engines/eevee_next/eevee_instance.hh index 522a44b3c17..542b153d676 100644 --- a/source/blender/draw/engines/eevee_next/eevee_instance.hh +++ b/source/blender/draw/engines/eevee_next/eevee_instance.hh @@ -320,7 +320,7 @@ class Instance { int get_recalc_flags(const ::World &world) { - return world.last_update > depsgraph_last_update_ ? ID_RECALC_SHADING : 0; + return world.last_update > depsgraph_last_update_ ? int(ID_RECALC_SHADING) : 0; } private: