Cross-platform OpenGL demo using SDL2
MIT License
Cross-platform OpenGL demo using SDL2
SDL2 (zlib) - Simple DirectMedia Layer
This project is built using POSIX-compatible make. For unix-like systems, it can be built natively. For Windows builds, mingw-w64 is used to cross-compile the project from a unix-like system.
sudo apt install make libsdl2-dev
make
brew install make sdl2
make -f Makefile.macos
From Linux (Debian-based):
sudo apt install make wget tar mingw-w64
make -f Makefile.mingw
From macOS:
brew install make wget gnu-tar mingw-w64
make -f Makefile.mingw