diff --git a/src/car_widget.cpp b/src/car_widget.cpp index 311aa48..b1525dd 100644 --- a/src/car_widget.cpp +++ b/src/car_widget.cpp @@ -74,7 +74,7 @@ car_widget::car_widget(utki::shared_ref context, all_parameters p this->cube_vao = this->context.get() .renderer.get() - .factory->create_vertex_array({pos_vbo, tex_vbo}, cube_indices, ruis::vertex_array::mode::triangles) + .factory->create_vertex_array({pos_vbo, tex_vbo}, cube_indices, ruis::render::vertex_array::mode::triangles) .to_shared_ptr(); this->tex = this->context.get().loader.load("tex_sample").to_shared_ptr(); diff --git a/src/car_widget.hpp b/src/car_widget.hpp index 5ec21b0..4ddb586 100644 --- a/src/car_widget.hpp +++ b/src/car_widget.hpp @@ -33,7 +33,7 @@ class car_widget : public ruis::widget, public ruis::updateable ruis::quaternion rot = ruis::quaternion().set_identity(); - std::shared_ptr cube_vao; + std::shared_ptr cube_vao; unsigned fps = 0; uint32_t fps_sec_counter = 0;