[PATCH 1/2] wined3d: Correct required extension for R8G8B8A8_UINT.

Chip Davis cdavis at codeweavers.com
Tue May 12 01:59:27 CDT 2020


GL_ARB_texture_rgb10_a2ui provides support for the GL_RGB10_A2UI format,
and nothing else.

Signed-off-by: Chip Davis <cdavis at codeweavers.com>
---
 dlls/wined3d/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 3379b7386cfe..c6ae308eb105 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1566,7 +1566,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
     {WINED3DFMT_R8G8B8A8_UINT,          GL_RGBA8UI,                       GL_RGBA8UI,                             0,
             GL_RGBA_INTEGER,            GL_UNSIGNED_INT_8_8_8_8_REV,      0,
             WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
-            ARB_TEXTURE_RGB10_A2UI,     NULL},
+            EXT_TEXTURE_INTEGER,        NULL},
     {WINED3DFMT_R8G8B8A8_SINT,          GL_RGBA8I,                        GL_RGBA8I,                              0,
             GL_RGBA_INTEGER,            GL_BYTE,                          0,
             WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
-- 
2.24.0




More information about the wine-devel mailing list