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: