diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-03 12:23:54 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-03 12:23:54 +0100 |
commit | 969999f9858043d2a2053f93209f878a3eb5a02a (patch) | |
tree | e9007eeb149c588a0d3a82b2a8da3f8d5aa63b6b /gfx/gl/program.h | |
parent | Creating a program with no shaders is not valid (diff) | |
download | ilt-969999f9858043d2a2053f93209f878a3eb5a02a.tar.bz2 ilt-969999f9858043d2a2053f93209f878a3eb5a02a.tar.xz ilt-969999f9858043d2a2053f93209f878a3eb5a02a.zip |
Split CheckShaderError into shader/program versions
They're similar, but need splitting for better diagnostics
Diffstat (limited to 'gfx/gl/program.h')
-rw-r--r-- | gfx/gl/program.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/program.h b/gfx/gl/program.h index fa6dac9..c89a128 100644 --- a/gfx/gl/program.h +++ b/gfx/gl/program.h @@ -49,6 +49,7 @@ public: } protected: + void checkProgramError(GLuint program, GLuint flag, std::string_view errorMessage) const; void use() const; void linkAndValidate() const; ProgramRef m_program; |