diff options
Diffstat (limited to 'gfx/gl/program.h')
-rw-r--r-- | gfx/gl/program.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/program.h b/gfx/gl/program.h index 711a26d..f14b0f3 100644 --- a/gfx/gl/program.h +++ b/gfx/gl/program.h @@ -7,6 +7,7 @@ class Location; +using ProgramRef = glRef<GLuint, &glCreateProgram, &glDeleteProgram>; class Program { public: template<typename... S> Program(const S &... srcs) @@ -40,7 +41,6 @@ public: protected: void use() const; - using ProgramRef = glRef<GLuint, &__glewCreateProgram, &__glewDeleteProgram>; void linkAndValidate() const; ProgramRef m_program; }; |