فهرست منبع

libobs/graphics: Fix gs_get_format_bpp

Was missing case for GS_RGBA16F.
jpark37 3 سال پیش
والد
کامیت
59ab9c98fb
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      libobs/graphics/graphics.h

+ 1 - 0
libobs/graphics/graphics.h

@@ -987,6 +987,7 @@ static inline uint32_t gs_get_format_bpp(enum gs_color_format format)
 	case GS_RG16:
 	case GS_RG16:
 		return 32;
 		return 32;
 	case GS_RGBA16:
 	case GS_RGBA16:
+	case GS_RGBA16F:
 	case GS_RG32F:
 	case GS_RG32F:
 		return 64;
 		return 64;
 	case GS_RGBA32F:
 	case GS_RGBA32F: