Henri Verbeet : wined3d: Add WINED3DFMT_INST to the format table.

Alexandre Julliard julliard at winehq.org
Fri Feb 8 14:13:46 CST 2013


Module: wine
Branch: master
Commit: c37594d3a902dab5cd3186f6b9276e4ccbcb0e0c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c37594d3a902dab5cd3186f6b9276e4ccbcb0e0c

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Feb  8 13:21:14 2013 +0100

wined3d: Add WINED3DFMT_INST to the format table.

We need the format to exist in apply_format_fixups() in particular.

---

 dlls/wined3d/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 2b95dfd..4b29ec8 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -124,6 +124,7 @@ static const struct wined3d_format_channels formats[] =
     /* Vendor-specific formats */
     {WINED3DFMT_ATI2N,                      0,  0,  0,  0,   0,  0,  0,  0,    1,   0,     0},
     {WINED3DFMT_NVDB,                       0,  0,  0,  0,   0,  0,  0,  0,    0,   0,     0},
+    {WINED3DFMT_INST,                       0,  0,  0,  0,   0,  0,  0,  0,    0,   0,     0},
     {WINED3DFMT_INTZ,                       0,  0,  0,  0,   0,  0,  0,  0,    4,  24,     8},
     {WINED3DFMT_NVHU,                       0,  0,  0,  0,   0,  0,  0,  0,    2,   0,     0},
     {WINED3DFMT_NVHS,                       0,  0,  0,  0,   0,  0,  0,  0,    2,   0,     0},




More information about the wine-cvs mailing list