mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-19 09:27:22 -04:00
Fix post-processing shader glsl_version bumping
This commit is contained in:
parent
55107e0913
commit
72e73784fb
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user