Module: wine Branch: master Commit: 383e0242f75f50909bc2b2306674d99a028e07b4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=383e0242f75f50909bc2b230...
Author: Alexandre Julliard julliard@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);