Skip to content

Commit

Permalink
warning C4715: 'Ogre::HlmsBlendblock::isAlphaToCoverage': not all con…
Browse files Browse the repository at this point in the history
…trol paths return a value
  • Loading branch information
eugenegff committed Aug 22, 2024
1 parent e5f6cc5 commit 059ea29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OgreMain/include/OgreHlmsDatablock.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ namespace Ogre
return true;
case HlmsBlendblock::A2cEnabledMsaaOnly:
return sd.isMultisample();
default:
return false;
}

return false;
Expand Down

0 comments on commit 059ea29

Please sign in to comment.