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

This commit is contained in:
Austin English 2011-10-27 13:17:34 -05:00 committed by Alexandre Julliard
parent 45c1dff552
commit abfb9211c8

View file

@ -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