vsvsv/zig-opengl-minimal-template
Zig OpenGL template with minimum dependencies
0.14.0-dev.1710+8ee52f99c
(see other branches for different Zig versions)The master
branch tries to support the most recent Zig version from master
branch.
There are other branches named zig-%vesion%
which has support for different older Zig versions.
Note If you're building on Linux, ensure you have installed all required packages for GLFW. Please check "Dependencies for Wayland and X11" on Compiling GLFW Guide.
# Clone this repository
git clone https://github.com/vsvsv/zig-opengl-minimal-template
# Go into the repository
cd zig-opengl-minimal-template
# Fetch GLFW as submodule
git submodule update --init
# Build program
zig build run
MIT