Merge pull request #2064 from jpark37/bgra-swap-chain

D3D swap chain enhancements
This commit is contained in:
Jim
2019-10-12 20:54:33 -07:00
committed by GitHub
5 changed files with 39 additions and 60 deletions

View File

@@ -41,6 +41,7 @@ static inline int get_color_format_bits(enum gs_color_format format)
{
switch ((uint32_t)format) {
case GS_RGBA:
case GS_BGRA:
return 32;
default:
return 0;