winex11.drv: Don't include wgl_driver.h if OpenGL is not supported.

This commit is contained in:
Francois Gouget 2012-07-23 18:40:09 +02:00 committed by Alexandre Julliard
parent de6e95213a
commit baf0a74b11
1 changed files with 1 additions and 1 deletions

View File

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