mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Deprecate SDL_GetRevisionNumber and update things for git instead of hg.
Fixes #4063
This commit is contained in:
@@ -141,9 +141,6 @@ int platform_testGetFunctions (void *arg)
|
||||
SDLTest_AssertPass("SDL_GetRevision()");
|
||||
SDLTest_AssertCheck(revision != NULL, "SDL_GetRevision() != NULL");
|
||||
|
||||
ret = SDL_GetRevisionNumber();
|
||||
SDLTest_AssertPass("SDL_GetRevisionNumber()");
|
||||
|
||||
return TEST_COMPLETED;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,13 @@ main(int argc, char *argv[])
|
||||
SDL_Log("Compiled with SDL older than 2.0\n");
|
||||
#endif
|
||||
SDL_VERSION(&compiled);
|
||||
SDL_Log("Compiled version: %d.%d.%d.%d (%s)\n",
|
||||
SDL_Log("Compiled version: %d.%d.%d (%s)\n",
|
||||
compiled.major, compiled.minor, compiled.patch,
|
||||
SDL_REVISION_NUMBER, SDL_REVISION);
|
||||
SDL_REVISION);
|
||||
SDL_GetVersion(&linked);
|
||||
SDL_Log("Linked version: %d.%d.%d.%d (%s)\n",
|
||||
SDL_Log("Linked version: %d.%d.%d (%s)\n",
|
||||
linked.major, linked.minor, linked.patch,
|
||||
SDL_GetRevisionNumber(), SDL_GetRevision());
|
||||
SDL_GetRevision());
|
||||
SDL_Quit();
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user