Paul Gofman : d3dx9: Remove redundant FIXME in set_constants().

Alexandre Julliard julliard at winehq.org
Mon Jun 5 16:56:32 CDT 2017


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

Author: Paul Gofman <gofmanp at gmail.com>
Date:   Fri Jun  2 12:58:12 2017 +0300

d3dx9: Remove redundant FIXME in set_constants().

Signed-off-by: Paul Gofman <gofmanp at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list