1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-05-14 17:11:28 +00:00

Fix post-processing shader glsl_version bumping

This commit is contained in:
Alexei Kotov 2025-03-02 01:08:51 +03:00
parent 55107e0913
commit 72e73784fb

View file

@ -245,11 +245,7 @@ namespace fx
else if (key == "author")
mAuthor = parseString();
else if (key == "glsl_version")
{
int version = parseInteger();
if (mUBO && version > 330)
mGLSLVersion = version;
}
mGLSLVersion = std::max(mGLSLVersion, parseInteger());
else if (key == "flags")
mFlags = parseFlags();
else if (key == "hdr")