Fixes dependencies on GL/glx.h and GL/glxext.h files (v2)
authorDavid Bercovitz <d-bercovitz@ti.com>
Fri, 2 Dec 2011 15:01:53 +0000 (09:01 -0600)
committerRob Clark <rob.clark@linaro.org>
Fri, 2 Dec 2011 15:01:53 +0000 (09:01 -0600)
 These files aren't needed and removing the includes
 removes the need to add a wrong and bad dependency on dri.pc.

src/dri2.c

index 7b106c95721a688839e6639cfdf948d0013e0780..b93d455b906ad68c35695c2f85e6a59e17f1c7d9 100644 (file)
@@ -43,8 +43,6 @@
 #include <X11/extensions/dri2proto.h>
 #include <drm.h>
 #include <xf86drm.h>
-#include <GL/glx.h>
-#include <GL/glxext.h>
 #include <xorg/list.h>
 #include "X11/extensions/dri2.h"
 
@@ -138,8 +136,6 @@ static XEXT_GENERATE_FIND_DISPLAY (DRI2FindDisplay,
                                    &dri2ExtensionHooks,
                                    0, NULL)
 
-#include <GL/glx.h>
-
 static Bool
 DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire)
 {