Austin English : winex11: Only declare the winediag debug channel if OpenGL is enabled.

Alexandre Julliard julliard at winehq.org
Fri Oct 28 12:48:37 CDT 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Oct 27 13:17:34 2011 -0500

winex11: Only declare the winediag debug channel if OpenGL is enabled.

---

 dlls/winex11.drv/opengl.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 78a717d..0d4d822 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -42,10 +42,11 @@
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wgl);
-WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 #ifdef SONAME_LIBGL
 
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
+
 #undef APIENTRY
 #undef CALLBACK
 #undef WINAPI




More information about the wine-cvs mailing list