glava-ridged/glad_generate.sh
VetheonGames 5499f9f4b9 Init
2023-09-07 16:16:06 -06:00

11 lines
271 B
Bash
Executable File

#!/usr/bin/env bash
set -e
GLAD_GEN="${1:-c}"
pushd glad
python -m glad --generator=${GLAD_GEN} --extensions=GL_EXT_framebuffer_multisample,GL_EXT_texture_filter_anisotropic,GL_NV_texture_barrier --local-files --out-path=.
popd
cp glad/*.h glava/
cp glad/glad.c glava/