1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibGL: Implement glLinkProgram

This commit is contained in:
Stephan Unverwerth 2022-08-28 12:04:18 +02:00 committed by Andrew Kaster
parent 7f062e35a4
commit fdd76639d8
2 changed files with 9 additions and 2 deletions

View file

@ -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;
};