summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intel.h1
-rw-r--r--src/intel_batchbuffer.h2
-rw-r--r--src/intel_dri.c2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/intel.h b/src/intel.h
index 01291a0e..da7ca573 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -65,7 +65,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define _XF86DRI_SERVER_
#include "dri.h"
#include "dri2.h"
-#include "GL/glxint.h"
#include "intel_bufmgr.h"
#include "i915_drm.h"
diff --git a/src/intel_batchbuffer.h b/src/intel_batchbuffer.h
index bf9b2794..02997bab 100644
--- a/src/intel_batchbuffer.h
+++ b/src/intel_batchbuffer.h
@@ -51,7 +51,7 @@ static inline int intel_vertex_space(intel_screen_private *intel)
}
static inline void
-intel_batch_require_space(ScrnInfoPtr scrn, intel_screen_private *intel, GLuint sz)
+intel_batch_require_space(ScrnInfoPtr scrn, intel_screen_private *intel, unsigned int sz)
{
assert(sz < intel->batch_bo->size - 8);
if (intel_batch_space(intel) < sz)
diff --git a/src/intel_dri.c b/src/intel_dri.c
index 198d5d48..d5dc30fe 100644
--- a/src/intel_dri.c
+++ b/src/intel_dri.c
@@ -58,8 +58,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "windowstr.h"
#include "shadow.h"
-#include "GL/glxtokens.h"
-
#include "intel.h"
#include "i830_reg.h"