Francois Gouget : wined3d: debug_{d3dbasis, d3ddegree}() are not used anymore so remove them.

Alexandre Julliard julliard at winehq.org
Tue Jan 29 12:35:42 CST 2013


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Jan 29 07:04:54 2013 +0100

wined3d: debug_{d3dbasis, d3ddegree}() are not used anymore so remove them.

---

 dlls/wined3d/utils.c           |   23 -----------------------
 dlls/wined3d/wined3d_private.h |    2 --
 2 files changed, 0 insertions(+), 25 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index e395bee..2b95dfd 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -2526,29 +2526,6 @@ const char *debug_glerror(GLenum error) {
     }
 }
 
-const char *debug_d3dbasis(enum wined3d_basis_type basis)
-{
-    switch (basis)
-    {
-        case WINED3D_BASIS_BEZIER:      return "WINED3D_BASIS_BEZIER";
-        case WINED3D_BASIS_BSPLINE:     return "WINED3D_BASIS_BSPLINE";
-        case WINED3D_BASIS_INTERPOLATE: return "WINED3D_BASIS_INTERPOLATE";
-        default:                        return "unrecognized";
-    }
-}
-
-const char *debug_d3ddegree(enum wined3d_degree_type degree)
-{
-    switch (degree)
-    {
-        case WINED3D_DEGREE_LINEAR:     return "WINED3D_DEGREE_LINEAR";
-        case WINED3D_DEGREE_QUADRATIC:  return "WINED3D_DEGREE_QUADRATIC";
-        case WINED3D_DEGREE_CUBIC:      return "WINED3D_DEGREE_CUBIC";
-        case WINED3D_DEGREE_QUINTIC:    return "WINED3D_DEGREE_QUINTIC";
-        default:                        return "unrecognized";
-    }
-}
-
 static const char *debug_fixup_channel_source(enum fixup_channel_source source)
 {
     switch(source)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 55a3386..0ce0c65 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2495,8 +2495,6 @@ const char *debug_d3dtstype(enum wined3d_transform_state tstype) DECLSPEC_HIDDEN
 const char *debug_d3dpool(enum wined3d_pool pool) DECLSPEC_HIDDEN;
 const char *debug_fbostatus(GLenum status) DECLSPEC_HIDDEN;
 const char *debug_glerror(GLenum error) DECLSPEC_HIDDEN;
-const char *debug_d3dbasis(enum wined3d_basis_type basis) DECLSPEC_HIDDEN;
-const char *debug_d3ddegree(enum wined3d_degree_type order) DECLSPEC_HIDDEN;
 const char *debug_d3dtop(enum wined3d_texture_op d3dtop) DECLSPEC_HIDDEN;
 void dump_color_fixup_desc(struct color_fixup_desc fixup) DECLSPEC_HIDDEN;
 const char *debug_surflocation(DWORD flag) DECLSPEC_HIDDEN;




More information about the wine-cvs mailing list