diff options
author | Frederico Linhares <fred@linhares.blue> | 2024-05-16 14:22:35 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2024-05-16 14:22:35 -0300 |
commit | d5a2b6bca9f9cc57dcca19962d5ba9b83d26da3e (patch) | |
tree | fa4decb441b0cc5cd189183166a324079f37c45a /src/static_model.cpp | |
parent | 43821b0cffc5aa419c0218992f06f8962ae54a13 (diff) |
Diffstat (limited to 'src/static_model.cpp')
-rw-r--r-- | src/static_model.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static_model.cpp b/src/static_model.cpp index 3dd0c10..f9a1039 100644 --- a/src/static_model.cpp +++ b/src/static_model.cpp @@ -101,8 +101,8 @@ cg_cStaticModel_draw(mrb_state *mrb, mrb_value self) { auto ptr = (std::shared_ptr<BluCat::StaticModel>*)DATA_PTR(self); - auto &instances = cg_core.vk_renderer->static_models_to_draw[ - cg_core.vk_swapchain->current_frame][(*ptr)->static_mesh]; + auto &instances = BluCat::core.vk_renderer->static_models_to_draw[ + BluCat::core.vk_swapchain->current_frame][(*ptr)->static_mesh]; instances.push_back(*ptr); return self; |