Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Apr 27, 2024
1 parent c8e6dfa commit 0e846a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/car_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ car_widget::car_widget(utki::shared_ref<ruis::context> 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<ruis::res::texture>("tex_sample").to_shared_ptr();
Expand Down
2 changes: 1 addition & 1 deletion src/car_widget.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class car_widget : public ruis::widget, public ruis::updateable

ruis::quaternion rot = ruis::quaternion().set_identity();

std::shared_ptr<ruis::vertex_array> cube_vao;
std::shared_ptr<ruis::render::vertex_array> cube_vao;

unsigned fps = 0;
uint32_t fps_sec_counter = 0;
Expand Down

0 comments on commit 0e846a4

Please sign in to comment.