Split the private block in a class for readability

Seeing what state gets incapsulated is helpful
This commit is contained in:
2021-12-14 15:02:59 +01:00
parent 903244fbed
commit 8a0ecded0a

View File

@@ -16,6 +16,13 @@ namespace Gloom
{
class Shader
{
private:
// Private member variables
GLuint mProgram;
GLint mStatus;
GLint mLength;
public:
Shader() {
mProgram = glCreateProgram();
@@ -144,10 +151,6 @@ namespace Gloom
Shader(Shader const &) = delete;
Shader & operator =(Shader const &) = delete;
// Private member variables
GLuint mProgram;
GLint mStatus;
GLint mLength;
};
}