summaryrefslogtreecommitdiff
path: root/gfx/gl
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-14 20:30:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-14 23:46:14 +0000
commit5044a05aa16e6bb957fc40fca19ac8dd29c47a35 (patch)
tree8e0503413c4083ba6668b952f84a809fd24ef32a /gfx/gl
parentAdd a basic if clunky render test (diff)
downloadilt-5044a05aa16e6bb957fc40fca19ac8dd29c47a35.tar.bz2
ilt-5044a05aa16e6bb957fc40fca19ac8dd29c47a35.tar.xz
ilt-5044a05aa16e6bb957fc40fca19ac8dd29c47a35.zip
Add some tests over the behaviour of windows and contexts and glStuff
Diffstat (limited to 'gfx/gl')
-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;
};