diff --git a/components/fx/technique.cpp b/components/fx/technique.cpp index fd1556674f..0b5d784ad9 100644 --- a/components/fx/technique.cpp +++ b/components/fx/technique.cpp @@ -916,6 +916,11 @@ namespace fx return mode; } + if (asLiteral() == "clamp") + error( + "unsupported wrap mode 'clamp'; 'clamp_to_edge' was likely intended, look for an updated shader or " + "contact author"); + error(Misc::StringUtils::format("unrecognized wrap mode '%s'", std::string{ asLiteral() })); }