From c3eea71370eb94cff1fd96185458643fab6eb2c5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 3 Nov 2022 19:47:46 +0000 Subject: Restructure how shaders are worked with Needs a tidy-up --- lib/embed-glsl.cpp.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/embed-glsl.cpp.m4') 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 -#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 }; -- cgit v1.2.3