Changeset View
Changeset View
Standalone View
Standalone View
libraries/source/glad/README.md
- This file was added.
## Introduction | |||||
This folder contains the files generated by the glad GL loader for the game. | |||||
## Instructions | |||||
Download glad v2: | |||||
```sh | |||||
git clone https://github.com/Dav1dde/glad.git -b glad2 | |||||
``` | |||||
Build the source files for all four backends with their respective extensions | |||||
- GL &GLES2 | |||||
```sh | |||||
python -m glad --api="gl:core=2.1,gles2=" --extensions="../extensions/gl.txt" --out-path="../" | |||||
``` | |||||
- GLX | |||||
```sh | |||||
python -m glad --api="glx=1.4" --extensions="../extensions/glx.txt" --out-path="../" | |||||
``` | |||||
- WGL | |||||
```sh | |||||
python -m glad --api="wgl=1.0" --extensions="../extensions/wgl.txt" --out-path="../" | |||||
``` | |||||
Rename all files to .cpp to prevent compilation warnings |
Wildfire Games · Phabricator