Henri Verbeet : wined3d: Add base format info for WINED3DFMT_R8G8B8A8_UNORM_SRGB.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 6 10:15:44 CDT 2015
Module: wine
Branch: master
Commit: 7f29d994ad12faf10e543d31adcf9da07f0af813
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f29d994ad12faf10e543d31adcf9da07f0af813
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Aug 6 00:21:54 2015 +0200
wined3d: Add base format info for WINED3DFMT_R8G8B8A8_UNORM_SRGB.
---
dlls/wined3d/utils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 30ad0e0..0d4e878 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -93,6 +93,7 @@ static const struct wined3d_format_channels formats[] =
{WINED3DFMT_R10G10B10A2_UINT, 10, 10, 10, 2, 0, 10, 20, 30, 4, 0, 0},
{WINED3DFMT_R10G10B10A2_SNORM, 10, 10, 10, 2, 0, 10, 20, 30, 4, 0, 0},
{WINED3DFMT_R8G8B8A8_UNORM, 8, 8, 8, 8, 0, 8, 16, 24, 4, 0, 0},
+ {WINED3DFMT_R8G8B8A8_UNORM_SRGB, 8, 8, 8, 8, 0, 8, 16, 24, 4, 0, 0},
{WINED3DFMT_R8G8B8A8_UINT, 8, 8, 8, 8, 0, 8, 16, 24, 4, 0, 0},
{WINED3DFMT_R8G8B8X8_UNORM, 8, 8, 8, 0, 0, 8, 16, 0, 4, 0, 0},
{WINED3DFMT_R16G16_UNORM, 16, 16, 0, 0, 0, 16, 0, 0, 4, 0, 0},
More information about the wine-cvs
mailing list