mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-07 22:28:10 +03:00
gl_rend_state massive overhaul. Created render_data_context
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user