Module: wine Branch: master Commit: 6d87eff6105c9a5ef32bcad11027ddbd3b9505bc URL: http://source.winehq.org/git/wine.git/?a=commit;h=6d87eff6105c9a5ef32bcad110...
Author: Józef Kucia jkucia@codeweavers.com Date: Thu Nov 10 12:39:14 2016 +0100
wined3d: Add support for WINED3DFMT_R16G16_SINT format.
Signed-off-by: Józef Kucia jkucia@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/utils.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 9ad9b21..d59f86f 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -1330,6 +1330,10 @@ static const struct wined3d_format_texture_info format_texture_info[] = GL_RG_INTEGER, GL_UNSIGNED_SHORT, 0, WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET, ARB_TEXTURE_RG, NULL}, + {WINED3DFMT_R16G16_SINT, GL_RG16I, GL_RG16I, 0, + GL_RG_INTEGER, GL_SHORT, 0, + WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET, + ARB_TEXTURE_RG, NULL}, {WINED3DFMT_R32_UINT, GL_R32UI, GL_R32UI, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, 0, WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,