Merge pull request #1934 from kkartaltepe/alpha-linux

linux-capture: Correct XCompCap glxFBConfigs alpha check
This commit is contained in:
Jim
2019-08-11 05:00:35 -07:00
committed by GitHub
5 changed files with 206 additions and 123 deletions

View File

@@ -58,6 +58,7 @@ enum gs_color_format {
GS_A8,
GS_R8,
GS_RGBA,
GS_RGBX,
GS_BGRX,
GS_BGRA,
GS_R10G10B10A2,
@@ -894,6 +895,8 @@ static inline uint32_t gs_get_format_bpp(enum gs_color_format format)
return 8;
case GS_RGBA:
return 32;
case GS_RGBX:
return 32;
case GS_BGRX:
return 32;
case GS_BGRA: