t/sdl_test: Make sure to init devices before system devices

This commit is contained in:
Jakob Bornecrantz 2023-04-07 13:58:39 +01:00
parent 12160ef652
commit b193c3bdd2

View file

@ -90,8 +90,8 @@ sdl_program_plus_create()
// Init sub components.
sdl_instance_init(&spp);
sdl_system_devices_init(&spp);
sdl_device_init(&spp);
sdl_system_devices_init(&spp);
sdl_compositor_init(&spp); // Needs the window.
return &spp;