Match getter with variable name

This commit is contained in:
Riyyi
2021-01-06 03:02:10 +01:00
parent 28ea13c762
commit 5d98a8a0fa
+1 -1
View File
@@ -30,7 +30,7 @@ namespace Inferno {
void unbind() const; void unbind() const;
inline std::string name() const { return m_name; } 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: protected:
uint32_t compileShader(int32_t type, const char* shaderSource) const; uint32_t compileShader(int32_t type, const char* shaderSource) const;