mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
LibGL: Implement glLinkProgram
This commit is contained in:
parent
7f062e35a4
commit
fdd76639d8
2 changed files with 9 additions and 2 deletions
|
@ -21,8 +21,10 @@ public:
|
|||
bool is_shader_attached(Shader const&) const;
|
||||
ErrorOr<void> attach_shader(Shader&);
|
||||
ErrorOr<void> link();
|
||||
bool link_status() const { return m_link_status; }
|
||||
|
||||
private:
|
||||
bool m_link_status { false };
|
||||
Vector<NonnullRefPtr<Shader>> m_vertex_shaders;
|
||||
Vector<NonnullRefPtr<Shader>> m_fragment_shaders;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue