diff options
Diffstat (limited to 'ui/window.cpp')
-rw-r--r-- | ui/window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/window.cpp b/ui/window.cpp index 51aa827..5930292 100644 --- a/ui/window.cpp +++ b/ui/window.cpp @@ -77,6 +77,7 @@ void Window::render() const
{
glEnable(GL_BLEND);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDisable(GL_DEPTH_TEST);
uiComponents.apply(&UIComponent::render, uiShader, UIComponent::Position {});
}
|