mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 21:59:11 +00:00
LibGL: Make shader compilation and program linking always succeed
This will help with testing until the actual compilation infrastructure is in place.
This commit is contained in:
parent
fdd76639d8
commit
848f1d2689
Notes:
sideshowbarker
2024-07-17 06:28:38 +09:00
Author: https://github.com/sunverwerth
Commit: 848f1d2689
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 4 additions and 2 deletions
|
@ -49,7 +49,8 @@ ErrorOr<void> Program::attach_shader(Shader& shader)
|
|||
|
||||
ErrorOr<void> Program::link()
|
||||
{
|
||||
TODO();
|
||||
// FIXME: Implement actual program linker
|
||||
m_link_status = true;
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,8 @@ ErrorOr<void> Shader::add_source(StringView source_code)
|
|||
|
||||
ErrorOr<void> Shader::compile()
|
||||
{
|
||||
TODO();
|
||||
// FIXME: Implement actual shader compilation
|
||||
m_compile_status = true;
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue