diff --git a/docs/notes/bugfix-22780.md b/docs/notes/bugfix-22780.md new file mode 100644 index 00000000000..6666d3785a8 --- /dev/null +++ b/docs/notes/bugfix-22780.md @@ -0,0 +1 @@ +# Ensure no error is thrown when setting the compositorType property to "none" diff --git a/engine/src/exec-interface-stack.cpp b/engine/src/exec-interface-stack.cpp index 007f2ad120c..dc24c321e38 100644 --- a/engine/src/exec-interface-stack.cpp +++ b/engine/src/exec-interface-stack.cpp @@ -93,7 +93,7 @@ static MCExecEnumTypeInfo _kMCInterfaceCharsetTypeInfo = static MCExecEnumTypeElementInfo _kMCInterfaceCompositorTypeElementInfo[] = { { "", kMCTileCacheCompositorNone, false }, - { "none", kMCTileCacheCompositorNone, true }, + { "none", kMCTileCacheCompositorNone, false }, { "Software", kMCTileCacheCompositorSoftware, false }, { "CoreGraphics", kMCTileCacheCompositorCoreGraphics, false }, { "opengl", kMCTileCacheCompositorOpenGL, false },