Created
August 11, 2022 00:28
-
-
Save cnlohr/bc1d083011cce565074c21822fbbffa9 to your computer and use it in GitHub Desktop.
Make SDL Apps Emit Verbose Logging for Debugging Purposes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void SDL_LogVerbose() | |
{ | |
// You can C&P theis code into yours before main. | |
SDL_LogSetPriority(SDL_LOG_CATEGORY_ERROR, SDL_LOG_PRIORITY_DEBUG); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment