Skip to content
Snippets Groups Projects
Commit 4ef0b28f authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix bug in SDL log callback

parent 46e05287
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ void sdlLogOutputFunc(void *userdata, int category, SDL_LogPriority priority, co
}
std::string category_str;
switch (priority)
switch (category)
{
case SDL_LOG_CATEGORY_APPLICATION:
category_str = "Application";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment