summaryrefslogtreecommitdiff
path: root/i965_drv_video/object_heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'i965_drv_video/object_heap.h')
-rw-r--r--i965_drv_video/object_heap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/i965_drv_video/object_heap.h b/i965_drv_video/object_heap.h
index 154fddb..82a6917 100644
--- a/i965_drv_video/object_heap.h
+++ b/i965_drv_video/object_heap.h
@@ -25,6 +25,8 @@
#ifndef _OBJECT_HEAP_H_
#define _OBJECT_HEAP_H_
+#include "i965_mutext.h"
+
#define OBJECT_HEAP_OFFSET_MASK 0x7F000000
#define OBJECT_HEAP_ID_MASK 0x00FFFFFF
@@ -43,6 +45,7 @@ struct object_heap {
int next_free;
int heap_size;
int heap_increment;
+ _I965Mutex mutex;
};
typedef int object_heap_iterator;