mesa/intel-fix-sarea-define.patch

12 lines
590 B
Diff
Raw Normal View History

diff -up mesa-20081220/src/mesa/drivers/dri/intel/intel_context.h.dave mesa-20081220/src/mesa/drivers/dri/intel/intel_context.h
--- mesa-20081220/src/mesa/drivers/dri/intel/intel_context.h.dave 2008-12-21 08:46:51.000000000 +1000
+++ mesa-20081220/src/mesa/drivers/dri/intel/intel_context.h 2008-12-21 08:47:04.000000000 +1000
@@ -268,6 +268,7 @@ struct intel_context
__DRIdrawablePrivate *driReadDrawable;
__DRIscreenPrivate *driScreen;
intelScreenPrivate *intelScreen;
+#define drm_i915_sarea _drm_i915_sarea
volatile struct drm_i915_sarea *sarea;
GLuint lastStamp;