From 5d98a8a0fae102a3d771c9c25369e46dcab38766 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 6 Jan 2021 03:02:10 +0100 Subject: [PATCH] Match getter with variable name --- inferno/src/inferno/render/shader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inferno/src/inferno/render/shader.h b/inferno/src/inferno/render/shader.h index 33f05b9..c64b2fe 100644 --- a/inferno/src/inferno/render/shader.h +++ b/inferno/src/inferno/render/shader.h @@ -30,7 +30,7 @@ namespace Inferno { void unbind() const; inline std::string name() const { return m_name; } - inline uint32_t program() const { return m_id; } + inline uint32_t id() const { return m_id; } protected: uint32_t compileShader(int32_t type, const char* shaderSource) const;