From 6698c81d0628e917beb75f71383e3b3108b0804c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 12 Dec 2021 16:07:41 +0000 Subject: Move program handle to its own files --- gfx/gl/shader.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gfx/gl/shader.h') diff --git a/gfx/gl/shader.h b/gfx/gl/shader.h index 5b3aab8..249b2f4 100644 --- a/gfx/gl/shader.h +++ b/gfx/gl/shader.h @@ -1,6 +1,7 @@ #ifndef SHADER_INCLUDED_H #define SHADER_INCLUDED_H +#include "programHandle.h" #include #include #include @@ -9,15 +10,6 @@ class Location; -class ProgramHandleBase { -public: - ProgramHandleBase(GLuint, GLuint); - using ProgramRef = glRef; - - ProgramRef m_program; - GLint viewProjection_uniform, model_uniform; -}; - class Shader { public: enum class Program { Basic = 0, Water = 1, LandMass = 2, StaticPos = 3 }; -- cgit v1.2.3