diff options
author | Tobias Doerffel <[email protected]> | 2009-08-14 08:50:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-14 08:50:52 -0600 |
commit | 87946d206f64946af564f2086299e190883ef6ad (patch) | |
tree | bb6f8aa130f9138d8ab0fe5e4ea816a5ff57d22c | |
parent | 2674d1ba5005151f2509e79f9f43020508e3525d (diff) |
intel: in intel_context struct use typedef for sarea struct
Using drm_i915_sarea_t instead of struct drm_i915_sarea seems to be
a common standard now, therefore fix it also in intel_context
structure. Additionally this silences a compiler warning:
intel_swapbuffers.c: In function `intelFixupVblank':
intel_swapbuffers.c:48: warning: initialization from incompatible pointer type
Signed-off-by: Tobias Doerffel <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h index 2b138290821..0d9db5eb1da 100644 --- a/src/mesa/drivers/dri/intel/intel_context.h +++ b/src/mesa/drivers/dri/intel/intel_context.h @@ -312,7 +312,7 @@ struct intel_context __DRIdrawablePrivate *driReadDrawable; __DRIscreenPrivate *driScreen; intelScreenPrivate *intelScreen; - volatile struct drm_i915_sarea *sarea; + volatile drm_i915_sarea_t *sarea; GLuint lastStamp; |