Module: wine Branch: master Commit: baf0a74b11ef955b367522bcacbe226c0c7a489d URL: http://source.winehq.org/git/wine.git/?a=commit;h=baf0a74b11ef955b367522bcac... Author: Francois Gouget <fgouget(a)free.fr> Date: Mon Jul 23 18:40:09 2012 +0200 winex11.drv: Don't include wgl_driver.h if OpenGL is not supported. --- dlls/winex11.drv/opengl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index c4b364e..e958132 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -48,7 +48,6 @@ #include "x11drv.h" #include "winternl.h" -#include "wine/wgl_driver.h" #include "wine/library.h" #include "wine/debug.h" @@ -59,6 +58,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wgl); WINE_DECLARE_DEBUG_CHANNEL(winediag); WINE_DECLARE_DEBUG_CHANNEL(fps); +#include "wine/wgl_driver.h" #include "wine/wglext.h" /* For compatibility with old Mesa headers */