[PATCH 3/3] wined3d: Add R8G8_UINT to vertex formats list.
Nikolay Sivov
nsivov at codeweavers.com
Wed Nov 17 06:00:10 CST 2021
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52051
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/wined3d/utils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 098b07ae35b..1b0d7cc6eba 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -726,6 +726,7 @@ static const struct wined3d_format_vertex_info format_vertex_info[] =
{WINED3DFMT_R8_UNORM, WINED3D_FFP_EMIT_INVALID, GL_UNSIGNED_BYTE},
{WINED3DFMT_R8_UINT, WINED3D_FFP_EMIT_INVALID, GL_UNSIGNED_BYTE},
{WINED3DFMT_R8_SINT, WINED3D_FFP_EMIT_INVALID, GL_BYTE},
+ {WINED3DFMT_R8G8_UINT, WINED3D_FFP_EMIT_INVALID, GL_UNSIGNED_BYTE},
{WINED3DFMT_R16_UINT, WINED3D_FFP_EMIT_INVALID, GL_UNSIGNED_SHORT},
{WINED3DFMT_R16_SINT, WINED3D_FFP_EMIT_INVALID, GL_SHORT},
{WINED3DFMT_R32_UINT, WINED3D_FFP_EMIT_INVALID, GL_UNSIGNED_INT},
--
2.33.0
More information about the wine-devel
mailing list