mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 09:22:53 +00:00
LibGL: Fix minor const-correctness issues
This commit is contained in:
parent
ca44b26b2a
commit
c837e7bbf3
Notes:
sideshowbarker
2024-07-17 03:30:41 +09:00
Author: https://github.com/awesomekling
Commit: c837e7bbf3
Pull-request: https://github.com/SerenityOS/serenity/pull/17557
Reviewed-by: https://github.com/linusg
2 changed files with 5 additions and 5 deletions
|
@ -57,7 +57,7 @@ ErrorOr<void> Program::link(GPU::Device& device)
|
|||
// Link vertex shader objects
|
||||
|
||||
Vector<GLSL::ObjectFile const*> vertex_shader_object_files;
|
||||
for (auto vertex_shader : m_vertex_shaders)
|
||||
for (auto const& vertex_shader : m_vertex_shaders)
|
||||
vertex_shader_object_files.append(vertex_shader->object_file());
|
||||
|
||||
auto linked_vertex_shader_or_error = linker.link(vertex_shader_object_files);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue