mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +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
|
@ -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…
Reference in a new issue