From b1a0bc3fb0ad2198500cbddc2e8c73d8ec39de31 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 19 Jul 2023 00:14:38 +0200 Subject: [PATCH] testlocale: only ininitialize video when needed --- test/testlocale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testlocale.c b/test/testlocale.c index 65a82df3d2..d0c3239767 100644 --- a/test/testlocale.c +++ b/test/testlocale.c @@ -56,6 +56,7 @@ int main(int argc, char **argv) if (SDL_strcmp(argv[1], "--listen") == 0) { listen = 1; consumed = 1; + state->flags |= SDL_INIT_VIDEO; } } if (consumed <= 0) {