Fix postprocess shader submenu.

This commit is contained in:
LunaMoo
2017-04-24 12:40:16 +02:00
parent 1a58629cfb
commit 27b41fed1d
+1 -1
View File
@@ -174,7 +174,7 @@ namespace MainWindow {
}
std::vector<ShaderInfo> info = GetAllPostShaderInfo();
if (menuShaderInfo.size() != info.size() || !std::equal(info.begin(), info.end(), menuShaderInfo.begin())) {
if (menuShaderInfo.size() == info.size() && std::equal(info.begin(), info.end(), menuShaderInfo.begin())) {
return false;
}