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 --- gfx/gl/glSource.h | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 gfx/gl/glSource.h (limited to 'gfx/gl/glSource.h') diff --git a/gfx/gl/glSource.h b/gfx/gl/glSource.h deleted file mode 100644 index c6b1f41..0000000 --- a/gfx/gl/glSource.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once - -#include -#include -#include - -struct GLsource { - using ShaderRef = glRef; - - const GLchar * text; - GLint len; - GLuint type; - - [[nodiscard]] ShaderRef compile() const; - static void CheckShaderError(GLuint shader, GLuint flag, bool isProgram, std::string_view errorMessage); -}; -- cgit v1.2.3