diff --git a/libs/gfx/source/painter.cpp b/libs/gfx/source/painter.cpp index 85e87f61..d6cedf36 100644 --- a/libs/gfx/source/painter.cpp +++ b/libs/gfx/source/painter.cpp @@ -522,6 +522,11 @@ namespace psemek::gfx gl::Disable(gl::CULL_FACE); + gl::Enable(gl::BLEND); + gl::BlendFunc(gl::SRC_ALPHA, gl::ONE_MINUS_SRC_ALPHA); + + gl::Disable(gl::DEPTH_TEST); + impl().mesh.load(impl().vertices, impl().indices, gl::TRIANGLES, gl::STREAM_DRAW); impl().vertices.clear(); impl().indices.clear();