tests: start memory tracking first + clean up cached text textures

This commit is contained in:
Anonymous Maarten
2024-07-27 13:44:04 +02:00
parent 6f1136c6ce
commit 3bfc103e76
6 changed files with 17 additions and 12 deletions

View File

@@ -218,14 +218,15 @@ int main(int argc, char *argv[])
int frames;
Uint64 then, now;
/* Enable standard application logging */
SDL_SetLogPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
/* Initialize test framework */
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
if (!state) {
return 1;
}
/* Enable standard application logging */
SDL_SetLogPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
for (i = 1; i < argc;) {
int consumed;