summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-01-31 02:51:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-01-31 02:51:16 +0000
commitbc0958cc863083b4082161bf12456fdf28ab1c77 (patch)
treef970782f232d86325f14a36b83125791f24335af /lib
parentInitial commit using tesselation shader to create curves (diff)
downloadilt-bc0958cc863083b4082161bf12456fdf28ab1c77.tar.bz2
ilt-bc0958cc863083b4082161bf12456fdf28ab1c77.tar.xz
ilt-bc0958cc863083b4082161bf12456fdf28ab1c77.zip
Rename shader source in keeping with glsl expectations
Swaps name/type of generated files to match class names and source files.
Diffstat (limited to 'lib')
-rw-r--r--lib/embed-glsl.cpp.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/embed-glsl.cpp.m4 b/lib/embed-glsl.cpp.m4
index ecae004..02ba732 100644
--- a/lib/embed-glsl.cpp.m4
+++ b/lib/embed-glsl.cpp.m4
@@ -1,7 +1,7 @@
changecom() dnl
// NAME
#include "gfx/gl/shader.h"
-#include "substr(TYPE,1)-NAME.h"
+#include "NAME-substr(TYPE,1).h"
#include <glad/gl.h>
constexpr Shader NAME`_'substr(TYPE,1) {