mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
libobs-opengl: Fix GS_R10G10B10A2 format
This commit is contained in:
1 parent
993c46c8a2
commit
ebfbe1a78e
1 file changed
+1
-1
@@ -150,7 +150,7 @@ static inline GLenum get_gl_format_type(enum gs_color_format format)
|
||||
case GS_BGRA:
|
||||
return GL_UNSIGNED_BYTE;
|
||||
case GS_R10G10B10A2:
|
||||
return GL_UNSIGNED_INT_10_10_10_2;
|
||||
return GL_UNSIGNED_INT_2_10_10_10_REV;
|
||||
case GS_RGBA16:
|
||||
return GL_UNSIGNED_SHORT;
|
||||
case GS_R16:
|
||||
|
||||
Reference in new issue
Block a user