Charles Davis : wined3d: Fix transposed lines.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 8 10:09:22 CST 2016
Module: wine
Branch: master
Commit: 1b27aac1e24941679f636f89d4af0082e55f92ab
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b27aac1e24941679f636f89d4af0082e55f92ab
Author: Charles Davis <cdavis5x at gmail.com>
Date: Mon Feb 8 02:28:41 2016 -0700
wined3d: Fix transposed lines.
Signed-off-by: Charles Davis <cdavis5x at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 0a9c561..4d00281 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1134,9 +1134,9 @@ static const struct wined3d_format_texture_info format_texture_info[] =
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING,
ARB_TEXTURE_RG, NULL},
{WINED3DFMT_R16_UNORM, GL_R16, GL_R16, 0,
+ GL_RED, GL_UNSIGNED_SHORT, 0,
WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING
| WINED3DFMT_FLAG_RENDERTARGET,
- GL_RED, GL_UNSIGNED_SHORT, 0,
ARB_TEXTURE_RG, NULL},
/* Luminance */
{WINED3DFMT_L8_UNORM, GL_LUMINANCE8, GL_SLUMINANCE8_EXT, 0,
More information about the wine-cvs
mailing list