Mike McCormack : x11drv: Fix a warning when opengl headers are missing.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 9 05:56:33 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue May  9 17:37:37 2006 +0900

x11drv: Fix a warning when opengl headers are missing.

---

 dlls/x11drv/opengl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/x11drv/opengl.c b/dlls/x11drv/opengl.c
index ba125b9..d0a3053 100644
--- a/dlls/x11drv/opengl.c
+++ b/dlls/x11drv/opengl.c
@@ -660,7 +660,7 @@ BOOL X11DRV_SetPixelFormat(X11DRV_PDEVIC
  *		SwapBuffers (X11DRV.@)
  */
 BOOL X11DRV_SwapBuffers(X11DRV_PDEVICE *physDev) {
-  ERR("No OpenGL support compiled in.\n");
+  ERR_(opengl)("No OpenGL support compiled in.\n");
 
   return FALSE;
 }




More information about the wine-cvs mailing list