mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-14 23:11:27 +00:00
Fix post-processing shader glsl_version bumping
This commit is contained in:
parent
55107e0913
commit
72e73784fb
1 changed files with 1 additions and 5 deletions
|
@ -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…
Reference in a new issue