Skip to content

Instantly share code, notes, and snippets.

@Amiralgaby
Amiralgaby / myapp_sdl3.c
Created July 7, 2024 17:04
SDL3 window app in one file
/*
TO COMPILE :
HAVE SDL3 installed in /usr/local/lib
gcc -Wall myapp_sdl3.c -L /usr/local/lib/ -lSDL3 -o output
PUBLIC DOMAIN
*/
#define SDL_MAIN_USE_CALLBACKS
#include <SDL3/SDL_main.h>