Disable face culling while rendering ui
This commit is contained in:
parent
673fc70a47
commit
90782d479a
1 changed files with 2 additions and 0 deletions
|
|
@ -97,6 +97,8 @@ namespace psemek::ui
|
|||
gl::Enable(gl::BLEND);
|
||||
gl::BlendFunc(gl::SRC_ALPHA, gl::ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
gl::Disable(gl::CULL_FACE);
|
||||
|
||||
auto visitor = util::recursive([&](auto && self, element * elem) -> void {
|
||||
elem->draw(impl().painter);
|
||||
for (auto c : elem->children())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue