Skip to content

Commit

Permalink
Document that OGRE_DEBUG_LOW is not allowed to break the ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Sep 21, 2024
1 parent 8474986 commit 01a3c80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OgreMain/include/OgrePlatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,12 @@ THE SOFTWARE.
// No checks done at all
#define OGRE_DEBUG_NONE 0
// We perform basic assert checks and other non-performance intensive checks
// This setting must NOT break the ABI. i.e. a binary compiled with OGRE_DEBUG_LOW
// must be ABI compatible with a binary compiled without it.
#define OGRE_DEBUG_LOW 1
// We alter classes to add some debug variables for a bit more thorough checking
// and also perform checks that may cause some performance hit
// This setting or higher is allowed to break the ABI.
#define OGRE_DEBUG_MEDIUM 2
// We perform intensive validation without concerns for performance
#define OGRE_DEBUG_HIGH 3
Expand Down

0 comments on commit 01a3c80

Please sign in to comment.