You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea what sort of damage it would do to change this, but Apple changed the name of the platform from "Mac OS X" to "macOS" awhile ago, so we should probably change SDL_GetPlatform.
Presumably this is mostly used for logging, and actual logic that changes based on platform would use a preprocessor test, right??
The text was updated successfully, but these errors were encountered:
I can imagine some code written in languages that don't have platform preprocessing might use SDL_GetPlatform with actual logic.
Maybe there should be a new function just to get the platform's 'pretty name' for logging and display purposes? I don't know if that's worth it just to support the macOS name change though, or even if the language thing is a real problem with real code or just a hypothetical.
It's already closed, but for future reference: Can confirm that this would be pretty catastrophic for C# games - there's supposed to be an OSVersion in the C# standard but it intentionally does not work, so we have to use something like SDL_GetPlatform instead:
I have no idea what sort of damage it would do to change this, but Apple changed the name of the platform from "Mac OS X" to "macOS" awhile ago, so we should probably change SDL_GetPlatform.
Presumably this is mostly used for logging, and actual logic that changes based on platform would use a preprocessor test, right??
The text was updated successfully, but these errors were encountered: