[cairo] including X headers in glitz-glx.h

Dave Airlie airlied at gmail.com
Sat Feb 19 19:19:26 PST 2005


I'm messing with Xgl on mesa-solo (don't expect any major results from
me.. I'm just messing about...) but I've hit an issue where
glitz-glx.h inclues X header files... when it really should be
including GL/glx.h

I don't think it should cause any issue.. patch follows, not sure if
gmail mangles patches though but its simple enough....

Dave.

Index: src/glx/glitz-glx.h
===================================================================
RCS file: /cvs/cairo/glitz/src/glx/glitz-glx.h,v
retrieving revision 1.2
diff -u -r1.2 glitz-glx.h
--- src/glx/glitz-glx.h 25 Jan 2005 19:50:26 -0000      1.2
+++ src/glx/glitz-glx.h 20 Feb 2005 03:11:15 -0000
@@ -32,8 +32,7 @@
 extern "C" {
 #endif
  
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
+#include <GL/glx.h>
  
 /* glitz_glx_info.c */



More information about the cairo mailing list