summaryrefslogtreecommitdiffstats
path: root/include/GL/internal/dri_sarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/internal/dri_sarea.h')
-rw-r--r--include/GL/internal/dri_sarea.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/GL/internal/dri_sarea.h b/include/GL/internal/dri_sarea.h
index ff4ff1021c4..849161fbc11 100644
--- a/include/GL/internal/dri_sarea.h
+++ b/include/GL/internal/dri_sarea.h
@@ -56,6 +56,9 @@ typedef struct __DRIBufferAttachEvent __DRIBufferAttachEvent;
struct __DRILock {
unsigned int block_header;
drm_hw_lock_t lock;
+
+ /* We use this with DRM_CAS to allocate lock IDs for the real lock.*/
+ unsigned int next_id;
};
struct __DRIEventBuffer {
@@ -113,7 +116,7 @@ struct __DRIDrawableBuffer {
struct __DRIDrawableConfigEvent {
unsigned int event_header;
- drm_drawable_t drawable;
+ unsigned int drawable;
short x;
short y;
unsigned int width;
@@ -124,7 +127,7 @@ struct __DRIDrawableConfigEvent {
struct __DRIBufferAttachEvent {
unsigned int event_header;
- drm_drawable_t drawable;
+ unsigned int drawable;
__DRIDrawableBuffer buffer;
};