Atlas - main_cli.c

Home / ext / SDL / cmake / test Lines: 1 | Size: 299 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1#define SDL_MAIN_HANDLED 2#include <SDL3/SDL.h> 3#include <SDL3/SDL_main.h> 4 5int main(int argc, char *argv[]) 6{ 7 SDL_SetMainReady(); 8 if (!SDL_Init(0)) { 9 SDL_Log("Could not initialize SDL: %s", SDL_GetError()); 10 return 1; 11 } 12 SDL_Delay(100); 13 SDL_Quit(); 14 return 0; 15} 16
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.