diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-14 20:30:32 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-14 23:46:14 +0000 |
commit | 5044a05aa16e6bb957fc40fca19ac8dd29c47a35 (patch) | |
tree | 8e0503413c4083ba6668b952f84a809fd24ef32a /gfx/gl | |
parent | Add a basic if clunky render test (diff) | |
download | ilt-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.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; }; |