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

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

No files matched your search

+4 -3
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;