summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-12 15:33:09 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-12 15:48:47 +0000
commitdcdff7828e1dc3b5cbfc10a30ee10c2ffec07987 (patch)
treef2d0e52661d38f389c8686b7b6fcd5afe4efafe8 /lib
parentMove generic constexpr_strlen to lib (diff)
downloadilt-dcdff7828e1dc3b5cbfc10a30ee10c2ffec07987.tar.bz2
ilt-dcdff7828e1dc3b5cbfc10a30ee10c2ffec07987.tar.xz
ilt-dcdff7828e1dc3b5cbfc10a30ee10c2ffec07987.zip
Move GL shared source into it's own class/file
Diffstat (limited to 'lib')
-rw-r--r--lib/embed-glsl.cpp.m42
-rw-r--r--lib/embed-glsl.h.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/embed-glsl.cpp.m4 b/lib/embed-glsl.cpp.m4
index d820756..003db65 100644
--- a/lib/embed-glsl.cpp.m4
+++ b/lib/embed-glsl.cpp.m4
@@ -2,7 +2,7 @@ changecom()dnl
// NAME
#include "substr(TYPE,1)-NAME.h"
#include <GL/glew.h>
-#include "gfx/gl/shader-source.h"
+#include "gfx/gl/glSource.h"
#include "lib/strings.hpp"
constexpr const GLchar * src { R"GLSL-EMBED(dnl
diff --git a/lib/embed-glsl.h.m4 b/lib/embed-glsl.h.m4
index 918007b..f277c56 100644
--- a/lib/embed-glsl.h.m4
+++ b/lib/embed-glsl.h.m4
@@ -1,4 +1,4 @@
// NAME
-#include <gfx/gl/shader-source.h>
+#include <gfx/gl/glSource.h>
extern const GLsource NAME`_'substr(TYPE,1);