1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 19:27:22 +03:00

window: egl: speculatively relax min alpha size

In refs: https://github.com/wez/wezterm/issues/240 there are a number
of configurations that report 0 for the alpha size and where we are
unable to otherwise find a working config.

This is a speculative commit to releax the alpha channel size to
basically anything available and see if that helps.
This commit is contained in:
Wez Furlong 2020-07-09 17:47:38 -07:00
parent fad31fedb8
commit 68a91835ee

View File

@ -365,7 +365,7 @@ impl GlState {
// Request at least 8bpc, 24bpp. The implementation may
// return a context capable of more than this
ffi::ALPHA_SIZE,
8,
0,
ffi::RED_SIZE,
8,
ffi::GREEN_SIZE,