mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:28:11 +00:00
LibGL: Implement glAttachShader
This commit is contained in:
parent
42ef5c9e12
commit
7f062e35a4
4 changed files with 43 additions and 4 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Error.h>
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/RefCounted.h>
|
||||
#include <AK/Vector.h>
|
||||
|
@ -17,6 +18,7 @@ class Program final : public RefCounted<Program> {
|
|||
public:
|
||||
static NonnullRefPtr<Program> create();
|
||||
|
||||
bool is_shader_attached(Shader const&) const;
|
||||
ErrorOr<void> attach_shader(Shader&);
|
||||
ErrorOr<void> link();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue