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;