Changeset View
Changeset View
Standalone View
Standalone View
source/third_party/glad/README.md
- This file was added.
## How to regenerate | |||||
Download glad (https://github.com/Dav1dde/glad.git) | |||||
python main.py --spec=gl --api="gl=3.0" --extensions=extensions.txt --generator=c --omit-khrplatform --local-files --out-path=. | |||||
python main.py --spec=glx --api="glx=1.4" --extensions=GLX_MESA_query_renderer --generator=c --omit-khrplatform --local-files --out-path=. | |||||
python main.py --spec=wgl --api="wgl=1.0" --extensions=WGL_EXT_swap_control,WGL_ARB_pixel_format,WGL_ARB_pbuffer --generator=c --omit-khrplatform --local-files --out-path=. | |||||
then rename all .c files to .cpp files (otherwise the build system won't pick them up). | |||||
## How to add/remove extensions: | |||||
Edit the ```extensions.txt``` file in this directory and run glad. |
Wildfire Games · Phabricator