mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05: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
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
Reference in a new issue