mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
LibGL: Implement glCompileShader
This commit is contained in:
parent
d5277ecdfe
commit
42ef5c9e12
Notes:
sideshowbarker
2024-07-17 03:02:19 +09:00
Author: https://github.com/sunverwerth
Commit: 42ef5c9e12
Pull-request: https://github.com/SerenityOS/serenity/pull/16225
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/supercomputer7
2 changed files with 8 additions and 2 deletions
|
@ -24,6 +24,7 @@ public:
|
|||
ErrorOr<void> add_source(StringView source_code);
|
||||
ErrorOr<void> compile();
|
||||
GLenum type() const { return m_type; }
|
||||
bool compile_status() const { return m_compile_status; }
|
||||
|
||||
private:
|
||||
explicit Shader(GLenum shader_type)
|
||||
|
@ -33,6 +34,7 @@ private:
|
|||
|
||||
Vector<String> m_sources;
|
||||
GLenum m_type;
|
||||
bool m_compile_status { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue