SCons: Properly track codegen script dependency for generated GLES headers

(cherry picked from commit 772d071863)
This commit is contained in:
Rémi Verschelde 2022-07-02 15:41:24 +02:00
parent 720b3a40ce
commit 8d066d25dd
2 changed files with 2 additions and 0 deletions

View File

@ -12,3 +12,4 @@ if "GLES2_GLSL" in env["BUILDERS"]:
env.GLES2_GLSL("effect_blur.glsl") env.GLES2_GLSL("effect_blur.glsl")
env.GLES2_GLSL("tonemap.glsl") env.GLES2_GLSL("tonemap.glsl")
env.GLES2_GLSL("lens_distorted.glsl") env.GLES2_GLSL("lens_distorted.glsl")
env.Depends(Glob("*.glsl.gen.h"), "#gles_builders.py")

View File

@ -21,3 +21,4 @@ if "GLES3_GLSL" in env["BUILDERS"]:
env.GLES3_GLSL("tonemap.glsl") env.GLES3_GLSL("tonemap.glsl")
env.GLES3_GLSL("particles.glsl") env.GLES3_GLSL("particles.glsl")
env.GLES3_GLSL("lens_distorted.glsl") env.GLES3_GLSL("lens_distorted.glsl")
env.Depends(Glob("*.glsl.gen.h"), "#gles_builders.py")