From abfb9211c8ce3c2f770c4a4df9fa7cd49e0cd4b4 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 27 Oct 2011 13:17:34 -0500 Subject: [PATCH] winex11: Only declare the winediag debug channel if OpenGL is enabled. --- dlls/winex11.drv/opengl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 78a717d79ff..0d4d822d92a 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 -- 2.11.4.GIT