- Compile the program.
mkdir -p checkerboardTexture.app/Contents/MacOS
clang -o checkerboardTexture.app/Contents/MacOS/checkerboardTexture *.m *.mm -framework Cocoa -framework QuartzCore -framework OpenGL
- Press
Esc
key to quit. - Press
F
orf
to toggle full-screen mode.