summaryrefslogtreecommitdiff
path: root/gfx/gl/programHandle.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-31 12:01:00 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-31 12:01:00 +0000
commitd20cf5f854fa5482c617d6ea355917435c98b038 (patch)
treec8e1b05d7f6f4170179a2e5f84d0e75502979423 /gfx/gl/programHandle.h
parentInitial implementation for being able to click in the main window to select s... (diff)
downloadilt-d20cf5f854fa5482c617d6ea355917435c98b038.tar.bz2
ilt-d20cf5f854fa5482c617d6ea355917435c98b038.tar.xz
ilt-d20cf5f854fa5482c617d6ea355917435c98b038.zip
Allow glRef to accept lambdas
Diffstat (limited to 'gfx/gl/programHandle.h')
-rw-r--r--gfx/gl/programHandle.h2
1 files changed, 1 insertions, 1 deletions
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<GLuint, __glewCreateProgram, __glewDeleteProgram>;
+ using ProgramRef = glRef<GLuint, &__glewCreateProgram, &__glewDeleteProgram>;
ProgramRef m_program;
GLint viewProjection_uniform, model_uniform;