Atlas - sdltest.c
Home / ext / SDL / cmake / test Lines: 1 | Size: 521 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1#define SDL_MAIN_USE_CALLBACKS 2#include <SDL3/SDL.h> 3#include <SDL3/SDL_main.h> 4#include <SDL3/SDL_test.h> 5 6SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) 7{ 8 return SDL_APP_SUCCESS; 9} 10 11SDL_AppResult SDL_AppIterate(void *appstate) 12{ 13 return SDL_APP_SUCCESS; 14} 15 16SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) 17{ 18 SDLTest_CommonState state; 19 SDLTest_CommonDefaultArgs(&state, argc, argv); 20 return SDL_APP_SUCCESS; 21} 22 23void SDL_AppQuit(void *appstate, SDL_AppResult result) { 24} 25[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.