diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-31 12:01:00 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-31 12:01:00 +0000 |
commit | d20cf5f854fa5482c617d6ea355917435c98b038 (patch) | |
tree | c8e1b05d7f6f4170179a2e5f84d0e75502979423 /gfx/gl/glSource.h | |
parent | Initial implementation for being able to click in the main window to select s... (diff) | |
download | ilt-d20cf5f854fa5482c617d6ea355917435c98b038.tar.bz2 ilt-d20cf5f854fa5482c617d6ea355917435c98b038.tar.xz ilt-d20cf5f854fa5482c617d6ea355917435c98b038.zip |
Allow glRef to accept lambdas
Diffstat (limited to 'gfx/gl/glSource.h')
-rw-r--r-- | gfx/gl/glSource.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <string_view> struct GLsource { - using ShaderRef = glRef<GLuint, __glewCreateShader, __glewDeleteShader>; + using ShaderRef = glRef<GLuint, &__glewCreateShader, &__glewDeleteShader>; const GLchar * text; GLint len; |