summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/gl/program.h2
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;
};