gl_rend_state massive overhaul. Created render_data_context

This commit is contained in:
korenkonder
2025-04-25 20:38:15 +03:00
parent 9cdd9eaf94
commit 452b12e000
71 changed files with 4587 additions and 3541 deletions
+2 -1
View File
@@ -217,6 +217,7 @@ void ShadowDw::ShowTextureCallback(dw::Widget* data) {
dw::Button* button = dynamic_cast<dw::Button*>(data);
if (button) {
shadow_dw->shadow_ptr->show_texture = button->value;
shadow_dw->shadow_ptr->clear_textures();
render_data_context rend_data_ctx(0);
shadow_dw->shadow_ptr->clear_textures(rend_data_ctx.state);
}
}