diff --git a/src/dlangui/graphics/resources.d b/src/dlangui/graphics/resources.d index 9bbf53d2..96f76101 100644 --- a/src/dlangui/graphics/resources.d +++ b/src/dlangui/graphics/resources.d @@ -206,6 +206,11 @@ EmbeddedResource[] embedResource(string resourceName)() { /// embed all resources from list EmbeddedResource[] embedResources(string[] resourceNames)() { + version(DigitalMars) + { + pragma(inline, false); // needed because https://issues.dlang.org/show_bug.cgi?id=24052 + } + static if (resourceNames.length == 0) return []; static if (resourceNames.length == 1)