Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions glass.asm
Original file line number Diff line number Diff line change
Expand Up @@ -3430,6 +3430,13 @@ x11_create_gc:
.xgcbg_def:
mov eax, [x11_black_pixel]
.xgcbg_set:
cmp dword [x11_argb_colormap], 0
je .xgcbg_no_alpha
and eax, 0x00FFFFFF
movzx ecx, byte [cfg_opacity]
shl ecx, 24
or eax, ecx
.xgcbg_no_alpha:
mov [rdi+16], eax

lea rsi, [tmp_buf]
Expand Down