1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:28:11 +00:00

LibGL: Implement glAttachShader

This commit is contained in:
Stephan Unverwerth 2022-08-28 11:47:58 +02:00 committed by Andrew Kaster
parent 42ef5c9e12
commit 7f062e35a4
4 changed files with 43 additions and 4 deletions

View file

@ -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();