update
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
bool addShader(std::unique_ptr<LOpenGLShader> shader);
|
||||
void removeShader(GLuint id);
|
||||
void Create();
|
||||
bool Link() const;
|
||||
bool Link();
|
||||
void Use() const;
|
||||
bool Linked() const { return linked_; }
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
private:
|
||||
std::list<std::unique_ptr<LOpenGLShader>> shaderList_;
|
||||
GLuint programId_;
|
||||
bool linked_;
|
||||
bool created_;
|
||||
GLuint programId_ = 0;
|
||||
bool linked_ = false;
|
||||
bool created_ = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user