From d20cf5f854fa5482c617d6ea355917435c98b038 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 31 Dec 2021 12:01:00 +0000 Subject: Allow glRef to accept lambdas --- gfx/gl/glSource.h | 2 +- gfx/gl/programHandle.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx/gl') diff --git a/gfx/gl/glSource.h b/gfx/gl/glSource.h index e44c5a2..7b43c48 100644 --- a/gfx/gl/glSource.h +++ b/gfx/gl/glSource.h @@ -6,7 +6,7 @@ #include struct GLsource { - using ShaderRef = glRef; + using ShaderRef = glRef; const GLchar * text; GLint len; diff --git a/gfx/gl/programHandle.h b/gfx/gl/programHandle.h index 6aa1084..5bd5c05 100644 --- a/gfx/gl/programHandle.h +++ b/gfx/gl/programHandle.h @@ -7,7 +7,7 @@ class ProgramHandleBase { public: ProgramHandleBase(GLuint, GLuint); - using ProgramRef = glRef; + using ProgramRef = glRef; ProgramRef m_program; GLint viewProjection_uniform, model_uniform; -- cgit v1.2.3