diff options
Diffstat (limited to 'gfx/gl/shader-source.h')
-rw-r--r-- | gfx/gl/shader-source.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gfx/gl/shader-source.h b/gfx/gl/shader-source.h deleted file mode 100644 index 524025c..0000000 --- a/gfx/gl/shader-source.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef SHADER_SOURCE_H -#define SHADER_SOURCE_H - -#include <GL/glew.h> -#include <glRef.hpp> - -struct GLsource { - using ShaderRef = glRef<GLuint, __glewCreateShader, __glewDeleteShader>; - - const GLchar * text; - GLint len; - GLuint type; - - [[nodiscard]] ShaderRef compile() const; -}; - -#endif |