File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,13 @@ utki::shared_ref<ruis::render::texture_cube> factory::create_texture_cube(
99
99
100
100
utki::shared_ref<ruis::render::vertex_array> factory::create_vertex_array (
101
101
std::vector<utki::shared_ref<const ruis::render::vertex_buffer>> buffers,
102
- const utki::shared_ref<const ruis::render::index_buffer>& indices,
102
+ utki::shared_ref<const ruis::render::index_buffer> indices,
103
103
ruis::render::vertex_array::mode rendering_mode
104
104
)
105
105
{
106
106
return utki::make_shared<vertex_array>(
107
107
std::move (buffers), //
108
- indices,
108
+ std::move ( indices) ,
109
109
rendering_mode
110
110
);
111
111
}
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class factory : public ruis::render::factory
77
77
78
78
utki::shared_ref<ruis::render::vertex_array> create_vertex_array (
79
79
std::vector<utki::shared_ref<const ruis::render::vertex_buffer>> buffers,
80
- const utki::shared_ref<const ruis::render::index_buffer>& indices,
80
+ utki::shared_ref<const ruis::render::index_buffer> indices,
81
81
ruis::render::vertex_array::mode rendering_mode
82
82
) override ;
83
83
Original file line number Diff line number Diff line change @@ -28,5 +28,9 @@ vertex_array::vertex_array(
28
28
utki::shared_ref<const ruis::render::index_buffer> indices,
29
29
ruis::render::vertex_array::mode rendering_mode
30
30
) :
31
- ruis::render::vertex_array(std::move(buffers), std::move(indices), rendering_mode)
31
+ ruis::render::vertex_array(
32
+ std::move (buffers), //
33
+ std::move(indices),
34
+ rendering_mode
35
+ )
32
36
{}
You can’t perform that action at this time.
0 commit comments