From 969999f9858043d2a2053f93209f878a3eb5a02a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 3 Aug 2024 12:23:54 +0100 Subject: Split CheckShaderError into shader/program versions They're similar, but need splitting for better diagnostics --- gfx/gl/program.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gfx/gl/program.h') 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; -- cgit v1.2.3