1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-05-31 15:41:31 +00:00

Merge branch 'postprocessingglslversion' into 'master'

Fix post-processing shader glsl_version bumping

See merge request OpenMW/openmw!4653
This commit is contained in:
psi29a 2025-05-07 17:57:15 +00:00
commit 1f724cc336

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")