Matteo Bruni : wined3d: Rename d3d_synchronous debug channel to d3d_sync.

Alexandre Julliard julliard at winehq.org
Fri Dec 4 14:36:04 CST 2020


Module: wine
Branch: master
Commit: 5031b9a994a0503b1861187537fa2070e52f0aab
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5031b9a994a0503b1861187537fa2070e52f0aab

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu Dec  3 17:58:53 2020 +0100

wined3d: Rename d3d_synchronous debug channel to d3d_sync.

The old name exceeded the maximum size of 14 characters.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/context_gl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/context_gl.c b/dlls/wined3d/context_gl.c
index ea12778e292..467f5b64d6c 100644
--- a/dlls/wined3d/context_gl.c
+++ b/dlls/wined3d/context_gl.c
@@ -31,7 +31,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3d);
 WINE_DECLARE_DEBUG_CHANNEL(d3d_perf);
-WINE_DECLARE_DEBUG_CHANNEL(d3d_synchronous);
+WINE_DECLARE_DEBUG_CHANNEL(d3d_sync);
 
 #define WINED3D_MAX_FBO_ENTRIES 64
 #define WINED3D_ALL_LAYERS (~0u)
@@ -2144,7 +2144,7 @@ HRESULT wined3d_context_gl_init(struct wined3d_context_gl *context_gl, struct wi
     if (context_debug_output_enabled(gl_info))
     {
         GL_EXTCALL(glDebugMessageCallback(wined3d_debug_callback, context));
-        if (TRACE_ON(d3d_synchronous))
+        if (TRACE_ON(d3d_sync))
             gl_info->gl_ops.gl.p_glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
         GL_EXTCALL(glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_FALSE));
         if (ERR_ON(d3d))




More information about the wine-cvs mailing list