Alexandre Julliard : winex11.drv: Fix a compiler warning when OpenGL is missing.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 25 13:34:16 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Aug 25 18:37:52 2006 +0200

winex11.drv: Fix a compiler warning when OpenGL is missing.

---

 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 22930ac..2fb2011 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -31,7 +31,6 @@ #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wgl);
 WINE_DECLARE_DEBUG_CHANNEL(opengl);
-WINE_DECLARE_DEBUG_CHANNEL(fps);
 
 #if defined(HAVE_GL_GL_H) && defined(HAVE_GL_GLX_H)
 
@@ -58,6 +57,7 @@ #define CALLBACK    __stdcall
 #define WINAPI      __stdcall
 #define APIENTRY    WINAPI
 
+WINE_DECLARE_DEBUG_CHANNEL(fps);
 
 static void dump_PIXELFORMATDESCRIPTOR(const PIXELFORMATDESCRIPTOR *ppfd) {
   TRACE("  - size / version : %d / %d\n", ppfd->nSize, ppfd->nVersion);




More information about the wine-cvs mailing list