Module: wine Branch: master Commit: b42e02ce9b2979763032d600e1518afccbf4df48 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b42e02ce9b2979763032d600e1...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Nov 7 21:41:14 2012 +0100
wined3d: Use the correct RGTC constant in format_texture_info.
---
dlls/wined3d/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 67cebbe..0624694 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -864,7 +864,7 @@ static const struct wined3d_format_texture_info format_texture_info[] = GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 0, WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_COMPRESSED, ATI_TEXTURE_COMPRESSION_3DC, NULL}, - {WINED3DFMT_ATI2N, GL_COMPRESSED_RED_GREEN_RGTC2_EXT, GL_COMPRESSED_RED_GREEN_RGTC2_EXT, 0, + {WINED3DFMT_ATI2N, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_RG_RGTC2, 0, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 0, WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_COMPRESSED, ARB_TEXTURE_COMPRESSION_RGTC, NULL},