mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +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
2 changed files with 4 additions and 2 deletions
|
@ -49,7 +49,8 @@ ErrorOr<void> Program::attach_shader(Shader& shader)
|
||||||
|
|
||||||
ErrorOr<void> Program::link()
|
ErrorOr<void> Program::link()
|
||||||
{
|
{
|
||||||
TODO();
|
// FIXME: Implement actual program linker
|
||||||
|
m_link_status = true;
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,8 @@ ErrorOr<void> Shader::add_source(StringView source_code)
|
||||||
|
|
||||||
ErrorOr<void> Shader::compile()
|
ErrorOr<void> Shader::compile()
|
||||||
{
|
{
|
||||||
TODO();
|
// FIXME: Implement actual shader compilation
|
||||||
|
m_compile_status = true;
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue