Fixed shadow alpha blending
This commit is contained in:
parent
4343aeafcf
commit
fbe784c8e3
1 changed files with 2 additions and 0 deletions
|
@ -585,6 +585,8 @@ void fx_render_box_shadow(struct fx_renderer *renderer, const struct wlr_box *bo
|
|||
// who uses opaque shadows with zero sigma), so just enable it
|
||||
glEnable(GL_BLEND);
|
||||
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
glUseProgram(renderer->shaders.box_shadow.program);
|
||||
|
||||
glUniformMatrix3fv(renderer->shaders.box_shadow.proj, 1, GL_FALSE, gl_matrix);
|
||||
|
|
Loading…
Add table
Reference in a new issue