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 <tobias.doerffel@gmail.com>
This commit is contained in:
Tobias Doerffel
2009-08-14 08:50:43 -06:00
committed by Brian Paul
parent 2674d1ba50
commit 87946d206f
+1 -1
View File
@@ -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;