libobs-opengl: Support BGRA swap chains on Windows

This commit is contained in:
jpark37
2019-09-05 22:01:50 -07:00
parent e981c15749
commit 2ae9d6f683
2 changed files with 1 additions and 47 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;