mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-24 01:59:17 +08:00
libobs/graphics: Fix gs_get_format_bpp
Was missing case for GS_RGBA16F.
This commit is contained in:
@@ -987,6 +987,7 @@ static inline uint32_t gs_get_format_bpp(enum gs_color_format format)
|
||||
case GS_RG16:
|
||||
return 32;
|
||||
case GS_RGBA16:
|
||||
case GS_RGBA16F:
|
||||
case GS_RG32F:
|
||||
return 64;
|
||||
case GS_RGBA32F:
|
||||
|
||||
Reference in New Issue
Block a user