[PATCH 8/8] d3dx9: Remove redundant FIXME in set_constants().

Paul Gofman gofmanp at gmail.com
Fri Jun 2 04:58:12 CDT 2017


Signed-off-by: Paul Gofman <gofmanp at gmail.com>
---
 dlls/d3dx9_36/preshader.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/d3dx9_36/preshader.c b/dlls/d3dx9_36/preshader.c
index cc103f5..a6320f9 100644
--- a/dlls/d3dx9_36/preshader.c
+++ b/dlls/d3dx9_36/preshader.c
@@ -1072,12 +1072,7 @@ static void set_constants(struct d3dx_regstore *rs, struct d3dx_const_tab *const
 
                     offset = i * info.major_stride + j;
                     if (get_reg_offset(table, offset) >= const_set->register_count)
-                    {
-                        if (table != PRES_REGTAB_OBCONST)
-                            FIXME("Output offset exceeds regiser count, name %s, component %u.\n",
-                                    debugstr_a(param->name), i);
                         break;
-                    }
                     offset += start_offset;
                     if (info.transpose)
                         param_offset = i + j * info.major;
-- 
2.9.4




More information about the wine-patches mailing list