Skip to content

Commit

Permalink
fixed hasMinVersion(major, minor, release)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenegff committed Sep 14, 2023
1 parent b5417b3 commit 7109650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OgreMain/include/OgreRenderSystemCapabilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ namespace Ogre
bool hasMinVersion( int minMajor, int minMinor, int minRel ) const
{
return major > minMajor || ( major == minMajor && minor >= minMinor ) ||
( major == minMajor && minor >= minMinor && release == minRel );
( major == minMajor && minor == minMinor && release >= minRel );
}
};

Expand Down

0 comments on commit 7109650

Please sign in to comment.