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:
Stephan Unverwerth 2022-08-28 14:29:32 +02:00 committed by Andrew Kaster
parent fdd76639d8
commit 848f1d2689
2 changed files with 4 additions and 2 deletions

View file

@ -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 {};
}

View file

@ -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 {};
}