Skip to content

Commit 83a051f

Browse files
committed
Update glad only when there's an actual update
1 parent bb156a6 commit 83a051f

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.github/workflows/update-dependencies.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
pip install -r requirements.txt
6262
python3 -m glad --api gl:core,gles1,gles2,glsc2 --out-path ../
6363
cd ..
64+
sed -i "s/generated by glad .*//g" include/glad/gl.h include/glad/gles1.h include/glad/gles2.h include/glad/glsc2.h
6465
rm -rf glad
6566
cd ../../../ || exit
6667
(git add . && git commit -m "auto" && git push origin HEAD:auto && echo "out=s" >> $GITHUB_OUTPUT) || echo "out=?" >> $GITHUB_OUTPUT

Framework/ThirdParty/glad/include/glad/gl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Loader generated by glad 2.0.8 on Sun Oct 27 14:18:59 2024
2+
* Loader
33
*
44
* SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0
55
*

Framework/ThirdParty/glad/include/glad/gles1.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Loader generated by glad 2.0.8 on Sun Oct 27 14:19:00 2024
2+
* Loader
33
*
44
* SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0
55
*

Framework/ThirdParty/glad/include/glad/gles2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Loader generated by glad 2.0.8 on Sun Oct 27 14:19:00 2024
2+
* Loader
33
*
44
* SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0
55
*

Framework/ThirdParty/glad/include/glad/glsc2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Loader generated by glad 2.0.8 on Sun Oct 27 14:19:01 2024
2+
* Loader
33
*
44
* SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0
55
*

0 commit comments

Comments
 (0)