summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/dri_util.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-15 15:15:05 -0500
committerKristian Høgsberg <[email protected]>2010-02-16 10:38:50 -0500
commit925b901ba313a3ddd7567eca088951be39414430 (patch)
treee315ac8070bba9c23329206f890713b12f80eeb8 /src/mesa/drivers/dri/common/dri_util.h
parent97ec6076f596a3820a9b7c4b7eae18bd98c6676b (diff)
dri2: Allocate cliprect as part of the __DRIdrawableRec
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_util.h')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h
index e9d5a9d9864..8d02524f386 100644
--- a/src/mesa/drivers/dri/common/dri_util.h
+++ b/src/mesa/drivers/dri/common/dri_util.h
@@ -378,6 +378,10 @@ struct __DRIdrawableRec {
unsigned int swap_interval;
GLboolean validBuffers;
+
+ struct {
+ drm_clip_rect_t clipRect;
+ } dri2;
};
/**