diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-03 19:47:46 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-03 19:48:31 +0000 |
commit | c3eea71370eb94cff1fd96185458643fab6eb2c5 (patch) | |
tree | cb331dd81d9cb36d69e1b659353796ec170a78e4 /lib/embed-glsl.cpp.m4 | |
parent | Rename Shader to SceneShader (diff) | |
download | ilt-c3eea71370eb94cff1fd96185458643fab6eb2c5.tar.bz2 ilt-c3eea71370eb94cff1fd96185458643fab6eb2c5.tar.xz ilt-c3eea71370eb94cff1fd96185458643fab6eb2c5.zip |
Restructure how shaders are worked with
Needs a tidy-up
Diffstat (limited to 'lib/embed-glsl.cpp.m4')
-rw-r--r-- | lib/embed-glsl.cpp.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/embed-glsl.cpp.m4 b/lib/embed-glsl.cpp.m4 index 003db65..5b25e0a 100644 --- a/lib/embed-glsl.cpp.m4 +++ b/lib/embed-glsl.cpp.m4 @@ -2,11 +2,11 @@ changecom()dnl // NAME #include "substr(TYPE,1)-NAME.h" #include <GL/glew.h> -#include "gfx/gl/glSource.h" +#include "gfx/gl/shader.h" #include "lib/strings.hpp" constexpr const GLchar * src { R"GLSL-EMBED(dnl include(SOURCE))GLSL-EMBED" }; constexpr auto len { constexpr_strlen (src) }; -const GLsource NAME`_'substr(TYPE,1) { src, len, GLTYPE }; +const Shader NAME`_'substr(TYPE,1) { src, len, GLTYPE }; |