1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-14 09:04:31 +02:00

#23 remove maxVectors limit for shadow and water quality settings

This commit is contained in:
XProger
2018-04-18 06:01:44 +03:00
parent d6d7198b6b
commit 24eb034332

View File

@@ -361,17 +361,12 @@ namespace Core {
}
void setShadows(Quality value) {
if (value > MEDIUM && !(support.maxVectors > 8))
value = MEDIUM;
shadows = value;
}
void setWater(Quality value) {
if (value > LOW && !(support.texFloat || support.texHalf))
value = LOW;
else
if (value > MEDIUM && !(support.maxVectors > 8))
value = MEDIUM;
water = value;
}
} detail;