30 return std::make_unique<SDL2WindowBackend>();
33 "SDL2 backend requested but built with SDL3, using SDL3");
34 return std::make_unique<SDL3WindowBackend>();
39 return std::make_unique<SDL3WindowBackend>();
42 "SDL3 backend requested but not available, using SDL2");
43 return std::make_unique<SDL2WindowBackend>();
48 "GLFW backend requested but not implemented yet, using default "
53#if defined(__APPLE__) && \
54 (TARGET_OS_IPHONE == 1 || TARGET_IPHONE_SIMULATOR == 1)
55 return std::make_unique<IOSWindowBackend>();
58 "iOS backend requested on non-iOS platform");
63 return std::make_unique<NullWindowBackend>();