mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-03-31 11:01:37 +00:00
feat: replace triangle test by cube
This commit is contained in:
@@ -29,6 +29,8 @@ class Shader
|
||||
// Activates the shader program for rendering
|
||||
// All subsequent draw calls will use this program
|
||||
void use() const;
|
||||
|
||||
GLuint getId() const { return id; }
|
||||
};
|
||||
} // namespace core
|
||||
|
||||
|
||||
Reference in New Issue
Block a user